toJson method

Map<String, dynamic> toJson ()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = new Map<String, dynamic>();
  data['route_id'] = this.routeId;
  data['agency_id'] = this.agencyId;
  data['route_short_name'] = this.routeShortName;
  data['route_long_name'] = this.routeLongName;
  data['route_desc'] = this.routeDesc;
  data['route_type'] = this.routeType;
  data['route_url'] = this.routeUrl;
  data['route_color'] = this.routeColor;
  data['route_text_color'] = this.routeTextColor;
  data['route_sort_order'] = this.routeSortOrder;
  data['continuous_pickup'] = this.continuousPickup;
  data['continuous_drop_off'] = this.continuousDropOff;
  return data;
}