area property
Get the area of the traffic event.
Returns
- The geographic area
- If the impact zone if path, the area is the bounding box
- If the impact zone if area, the area is the geographic area with which the event was defined
Implementation
GeographicArea get area {
final OperationResult resultString = objectMethod(
_pointerId,
'TrafficEvent',
'getArea',
);
return GeographicArea.fromJson(resultString['result']);
}