toJson method

Map<String, dynamic> toJson ()

Implementation

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