OfflineMapParametersKey.withTable constructor

OfflineMapParametersKey.withTable(
  1. ServiceFeatureTable table
)

Create an offline map parameters key for the given table.

The returned key can be used to retrieve a data type specific parameter object from the dictionary returned by GenerateOfflineMapParameterOverrides.generateGeodatabaseParameters.

Parameters:

Implementation

factory OfflineMapParametersKey.withTable(ServiceFeatureTable table) {
  _initializeArcGISEnvironmentIfNeeded();
  final handle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_OfflineMapParametersKey_createWithTable(
        table._handle, errorHandler);
  });
  return OfflineMapParametersKey._instanceCache.instanceWith(handle);
}