to property

Coordinates get to

End coordinate of the traffic event on the route.

Returns

  • Coordinates: the route-relative end coordinate for this event.

Also see:

  • from — start coordinate of the traffic event on the route.

Implementation

Coordinates get to {
  final OperationResult resultString = objectMethod(
    pointerId,
    'RouteTrafficEvent',
    'getTo',
  );

  return Coordinates.fromJson(resultString['result']);
}