ElectronicHorizonUpdate class

A class representing a full update delivered via ElectronicHorizonListener notifications.

Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

Constructors

ElectronicHorizonUpdate(ElectronicHorizonPosition position)

Properties

electronicHorizon ElectronicHorizon?
The full electronic horizon recomputed for the current vehicle state. May be null if there is no update.
getter/setter pair
hashCode → int
The hash code for this object.
no setter
position ElectronicHorizonPosition
The vehicle’s updated position relative to the electronic horizon. Always present. If no electronic_horizon is available, the position refers to the most recently known horizon.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
segmentChanges ElectronicHorizonSegmentChanges?
The difference between the previously emitted horizon and the newly computed one. Contains added and removed segments. May be null if there is no update.
getter/setter pair

Methods

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

Operators

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