RouteListener class Places

Listener for events related to a route

Constructors

RouteListener({void onRouteTrafficEventsUpdated(int delayDiff)?, void onTrafficEventsAlongRouteChecked()?, void onRouteTrackTrimmed()?})
Constructor for a RouteListener
factory
RouteListener.init(dynamic id)

Properties

hashCode int
The hash code for this object.
no setterinherited
id ↔ dynamic
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() FutureOr<void>
handleEvent(Map arguments) → void
Method called when event is called from the native side.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerOnRouteTrackTrimmed(void callback()?) → void
Called when track was trimmed during navigation ( debug purposes )
registerOnRouteTrafficEventsUpdated(void callback(int delayDiff)?) → void
Called when route traffic events are updated.
registerOnTrafficEventsAlongRouteChecked(void callback()?) → void
Called when traffic events along route were verified.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited