BusVehicleUpdate class
Bus Vehicle Update model: Contains data related to realtime vehicle updates
Constructors
- BusVehicleUpdate({String id, bool isDeleted, String tripId, String startTime, String startDate, String routeId, double latitude, double longitude, int currentStopSequence, dynamic currentStatus, dynamic timestamp, String vehicleId})
-
BusVehicleUpdate.fromJson(Map<
String, dynamic> json) - BusVehicleUpdate.fromPBEntity(FeedEntity entity)
Properties
- currentStatus ↔ dynamic
-
read / write
- currentStopSequence ↔ int
-
read / write
- getLatLng → dynamic
-
read-only
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- id ↔ String
-
read / write
- isDeleted ↔ bool
-
read / write
- latitude ↔ double
-
Representation of
vehicle.position
attributesread / write - longitude ↔ double
-
read / write
- routeId ↔ String
-
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- startDate ↔ String
-
read / write
- startTime ↔ String
-
read / write
- timestamp ↔ dynamic
-
read / write
- tripId ↔ String
-
Representation of
vehicle.trip
attributesread / write - vehicleId ↔ String
-
Represenation of
vehicle.vehicle.id
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toFeedEntity(
) → FeedEntity -
toJson(
) → Map< String, dynamic> -
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited