ShuttleUpdate class
Constructors
-
ShuttleUpdate({dynamic latitude, dynamic longitude, int id, String trackerId, num heading, num speed, String time, String created, int vehicleId, int routeId})
-
Uses a super constructor to define lat/lng attributes
-
ShuttleUpdate.fromJson(Map<String, dynamic> json)
-
factory
Properties
-
created
↔ String
-
Timestamp of when shuttle was recieved
read / write
-
getLatLng
→ dynamic
-
read-only
-
hashCode
→ int
-
The hash code for this object. [...]
read-only, inherited
-
heading
↔ num
-
Heading in degrees for the shuttle
read / write
-
id
↔ int
-
ID of the update
read / write
-
latitude
↔ dynamic
-
lng and lat
read / write
-
longitude
↔ dynamic
-
read / write
-
routeId
↔ int
-
The route ID that the shuttle runs on
read / write
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
read-only, inherited
-
speed
↔ num
-
Speed of the shuttle
read / write
-
time
↔ String
-
Timestamp of when this updated was sent
read / write
-
trackerId
↔ String
-
Not super sure what this is used for
read / write
-
vehicleId
↔ int
-
ID associated with the shuttle
read / write
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString()
→ String
-
Returns a string representation of this object.
inherited