BusPosition constructor

BusPosition({
  1. required DateTime dateTime,
  2. required int deviationMinutes,
  3. required String direction,
  4. required double latitude,
  5. required double longitude,
  6. required String routeId,
  7. required DateTime tripStartTime,
  8. required DateTime tripEndTime,
  9. required String tripHeadsign,
  10. required String tripId,
  11. required String vehicleId,
})

Creates a BusPosition object.

Implementation

BusPosition({
  required this.dateTime,
  required this.deviationMinutes,
  required this.direction,
  required this.latitude,
  required this.longitude,
  required this.routeId,
  required this.tripStartTime,
  required this.tripEndTime,
  required this.tripHeadsign,
  required this.tripId,
  required this.vehicleId,
});