2020-07-27 20:43:58 +00:00
|
|
|
class UnsafeRoute {
|
2022-09-21 20:27:35 +00:00
|
|
|
String? route;
|
|
|
|
String? via;
|
2020-07-27 20:43:58 +00:00
|
|
|
|
|
|
|
UnsafeRoute({this.route, this.via});
|
|
|
|
|
2022-09-21 20:27:35 +00:00
|
|
|
factory UnsafeRoute.fromJson(Map<String, dynamic> json) {
|
|
|
|
return UnsafeRoute(
|
|
|
|
route: json['route'],
|
|
|
|
via: json['via'],
|
|
|
|
);
|
2020-07-27 20:43:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
return {
|
|
|
|
'route': route,
|
|
|
|
'via': via,
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|