PointBarrier constructor

PointBarrier(
  1. ArcGISPoint point
)

Creates a point barrier instance.

Creates a point barrier.

Parameters:

  • point — A point.

Implementation

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