ServiceAreaFacility constructor

ServiceAreaFacility(
  1. {required ArcGISPoint point}
)

Creates a service area facility instance with point.

Creates a facility.

Parameters:

  • point — A point.

Implementation

factory ServiceAreaFacility({required ArcGISPoint point}) {
  _initializeArcGISEnvironmentIfNeeded();
  final handle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_ServiceAreaFacility_createWithPoint(
        point._handle, errorHandler);
  });
  return ServiceAreaFacility._withHandle(handle);
}