DriverLocation class

Where a driver is.

Annotations

Constructors

DriverLocation({required String driverId, required LatLng position, DateTime? updatedAt, bool available = true, double? headingDegrees})
Creates a driver position.
const

Properties

available → bool
Is it free?
final
driverId → String
Who it is.
final
hashCode → int
The hash code for this object.
no setterinherited
headingDegrees → double?
Which way it faces, in degrees from north.
final
position → LatLng
Where it is.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
updatedAt → DateTime?
When it was last heard from.
final

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