Facility constructor

Facility(
  1. ArcGISPoint point
)

Creates a facility instance with point.

Creates a facility.

Parameters:

  • point — A point.

Implementation

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