PointBarrier constructor

PointBarrier(
  1. {required ArcGISPoint point}
)

Creates a point barrier instance.

Creates a point barrier.

Parameters:

  • point — A point.

Implementation

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