Facility constructor

Facility(
  1. {required ArcGISPoint point}
)

Creates a facility instance with point.

Creates a facility.

Parameters:

  • point — A point.

Implementation

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