BusTrip.fromJson constructor

BusTrip.fromJson(
  1. Map<String, dynamic> json
)

Implementation

BusTrip.fromJson(Map<String, dynamic> json) {
  tripId = json['trip_id'];
  routeId = json['route_id'];
  serviceId = json['service_id'];
  tripHeadsign = json['trip_headsign'];
  tripShortName = json['trip_short_name'];
  directionId = json['direction_id'];
  blockId = json['block_id'];
  shapeId = json['shape_id'];
  wheelchairAccessible = json['wheelchair_accessible'];
  bikesAllowed = json['bikes_allowed'];
}