BusTripUpdate.fromJson constructor
BusTripUpdate.fromJson(- Map<String, dynamic> json
)
Implementation
BusTripUpdate.fromJson(Map<String, dynamic> json) {
id = json['id'];
isDeleted = json['isDeleted'];
tripId = json['tripUpdate']['trip']['tripId'];
startTime = json['tripUpdate']['trip']['startTime'];
startDate = json['tripUpdate']['trip']['startDate'];
routeId = json['tripUpdate']['trip']['routeId'];
json['tripUpdate']['stopTimeUpdate'].forEach(() {});
vehicleId = json['tripUpdate']['vehicle']['id'];
}