RouteStatusChanged class final

The route status changed (e.g. the vehicle left the route).

Inheritance

Constructors

RouteStatusChanged(RouteStatus previous, RouteStatus current)
Creates the event.
const

Properties

current → RouteStatus
New status.
final
hashCode → int
The hash code for this object.
no setterinherited
isOffRoute → bool
Whether this transition confirms the vehicle left the route; a good moment for the app to request a new route from its backend.
no setter
previous → RouteStatus
Previous status.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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