GeodatabaseFeatureTable.fromTable constructor
- required GeodatabaseFeatureTable table,
- required RelationshipInfo relationshipInfo,
Creates a new geodatabase feature table object from the specified table and relationship info.
Parameters:
table
— The table from which to create a new table.relationshipInfo
— The relationship info specifying which table to create.
Implementation
factory GeodatabaseFeatureTable.fromTable({
required GeodatabaseFeatureTable table,
required RelationshipInfo relationshipInfo,
}) {
_initializeArcGISEnvironmentIfNeeded();
final handle = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_GeodatabaseFeatureTable_createFromTable(
table._handle,
relationshipInfo._handle,
errorHandler,
);
});
return FeatureTable._instanceCache.instanceWith(handle);
}