removePersistentRoadblockByCoordinates static method

GemError removePersistentRoadblockByCoordinates(
  1. Coordinates coords
)

Removes a persistent roadblock identified by its reference coordinate.

The provided coords must match the start coordinate that was used when the roadblock was originally defined for path-type roadblocks.

Parameters

  • coords: The reference Coordinates used to identify the roadblock.

Returns

Also see:

Implementation

static GemError removePersistentRoadblockByCoordinates(Coordinates coords) {
  final OperationResult resultString = staticMethod(
    'TrafficService',
    'removePersistentRoadblock',
    args: coords,
  );

  return GemErrorExtension.fromCode(resultString['result']);
}