ServiceFeatureTable.fromTable constructor

ServiceFeatureTable.fromTable(
  1. ServiceFeatureTable table, {
  2. required RelationshipInfo relationshipInfo,
})

Creates a new service feature table object from the specified table and relationship information.

Parameters:

  • table — The table from which to create a new table.
  • relationshipInfo — The relationship information specifying which table to create.

Implementation

factory ServiceFeatureTable.fromTable(
  ServiceFeatureTable table, {
  required RelationshipInfo relationshipInfo,
}) {
  _initializeArcGISEnvironmentIfNeeded();
  final handle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_ServiceFeatureTable_createFromTable(
      table._handle,
      relationshipInfo._handle,
      errorHandler,
    );
  });
  return FeatureTable._instanceCache.instanceWith(handle);
}