trifid_mobile/lib/models/UnsafeRoute.dart
2020-07-27 15:43:58 -05:00

18 lines
No EOL
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,
};
}
}