forked from core/mobile_nebula
18 lines
297 B
Dart
18 lines
297 B
Dart
|
class UnsafeRoute {
|
||
|
String route;
|
||
|
String via;
|
||
|
|
||
|
UnsafeRoute({this.route, this.via});
|
||
|
|
||
|
UnsafeRoute.fromJson(Map<String, dynamic> json) {
|
||
|
route = json['route'];
|
||
|
via = json['via'];
|
||
|
}
|
||
|
|
||
|
Map<String, dynamic> toJson() {
|
||
|
return {
|
||
|
'route': route,
|
||
|
'via': via,
|
||
|
};
|
||
|
}
|
||
|
}
|