isUserRoadblock property

bool get isUserRoadblock

Whether the traffic event was created by the user.

Returns

  • bool: true when the event is a user-defined roadblock.

Implementation

bool get isUserRoadblock {
  final OperationResult resultString = objectMethod(
    pointerId,
    'TrafficEvent',
    'isUserRoadblock',
  );

  return resultString['result'];
}