BusPosition constructor
BusPosition({
- required DateTime dateTime,
- required int deviationMinutes,
- required String direction,
- required double latitude,
- required double longitude,
- required String routeId,
- required DateTime tripStartTime,
- required DateTime tripEndTime,
- required String tripHeadsign,
- required String tripId,
- 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,
});