LocationDataSource constructor

LocationDataSource()

Creates a location data source object.

Implementation

factory LocationDataSource() {
  _initializeArcGISEnvironmentIfNeeded();
  final handle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_LocationDataSource_create(
      errorHandler,
    );
  });
  return LocationDataSource._instanceCache.instanceWith(handle);
}