removePersistentRoadblockById static method

GemError removePersistentRoadblockById(
  1. String id
)

Remove an user persistent roadblock identified by id

Parameters

  • IN id The roadblock id as it was provided in addPersistentRoadblock function

Returns

  • The error code

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']);
}