removeUserRoadblock static method
- TrafficEvent event
Removes a user-defined roadblock, whether persistent or not.
Parameters
event: The TrafficEvent instance that identifies the roadblock to remove.
Also see:
- removePersistentRoadblockById - Remove a roadblock by its unique id.
- removePersistentRoadblockByCoordinates - Remove a roadblock by its reference coordinate.
Implementation
static void removeUserRoadblock(TrafficEvent event) {
staticMethod(
'TrafficService',
'removeUserRoadblock',
args: event.pointerId,
);
}