PolylineBarrier constructor

PolylineBarrier(
  1. {required Polyline polyline}
)

Creates a polyline barrier instance.

Creates a polyline barrier.

Parameters:

  • polyline — A polyline.

Implementation

factory PolylineBarrier({required Polyline polyline}) {
  _initializeArcGISEnvironmentIfNeeded();
  final handle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_PolylineBarrier_createWithPolyline(
        polyline._handle, errorHandler);
  });
  return PolylineBarrier._withHandle(handle);
}