setPolylineBarriers method
- {required List<
PolylineBarrier> lineBarriers}
Sets polyline barriers.
Parameters:
lineBarriers
— A List of PolylineBarrier instances. Contents of the List are copied.
Implementation
void setPolylineBarriers({required List<PolylineBarrier> lineBarriers}) {
final coreLineBarriers =
lineBarriers.toMutableArray(valueType: _ElementType.polylineBarrier);
_withThrowingErrorHandler((errorHandler) {
runtimecore.RT_ClosestFacilityParameters_setPolylineBarriers(
_handle, coreLineBarriers._handle, errorHandler);
});
}