length property
Gets the length in meters of the road segment affected by the traffic event.
Returns
- The length in meters.
Throws
- An exception if it fails.
Implementation
int get length {
final OperationResult resultString = objectMethod(
_pointerId,
'TrafficEvent',
'getLength',
);
return resultString['result'];
}