trafficEvents property
inherited
Get list of traffic events affecting the route.
Returns
- List of traffic events affecting the route
Throws
- An exception if it fails.
Implementation
List<RouteTrafficEvent> get trafficEvents {
final OperationResult resultString = objectMethod(
_pointerId,
'RouteBase',
'getTrafficEvents',
);
return RouteTrafficEventList.init(resultString['result'], _mapId).toList();
}