BusStop.fromJson constructor

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

Implementation

BusStop.fromJson(Map<String, dynamic> json) {
  stopId = json['stop_id'];
  stopCode = json['stop_code'];
  stopName = json['stop_name'];
  ttsStopName = json['tts_stop_name'];
  stopDesc = json['stop_desc'];
  stopLat = json['stop_lat'];
  stopLon = json['stop_lon'];
  zoneId = json['zone_id'];
  stopUrl = json['stop_url'];
  locationType = json['location_type'];
  parentStation = json['parent_station'];
  stopTimezone = json['stop_timezone'];
  wheelchairBoarding = json['wheelchair_boarding'];
  levelId = json['level_id'];
  platformCode = json['platform_code'];
}