removePersistentRoadblockById static method
- String id
Remove an user persistent roadblock identified by id
Parameters
- IN id The roadblock id as it was provided in addPersistentRoadblock function
Returns
- GemError.success on success
- GemError.notFound if the roadblock does not exist
Throws
- An exception if it fails
Implementation
static GemError removePersistentRoadblockById(String id) {
final OperationResult resultString = staticMethod(
'TrafficService',
'removePersistentRoadblockById',
args: id,
);
return GemErrorExtension.fromCode(resultString['result']);
}