toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['route_id'] = this.routeId;
data['stop_name'] = this.stopName;
data['service_id'] = this.serviceId;
data['stop_lat'] = this.stopLat;
data['stop_lon'] = this.stopLon;
data['stop_sequence'] = this.stopSequence;
data['stop_times'] = this.stopTimes;
return data;
}