3
0
Fork 0
trifid_mobile/lib/models/UnsafeRoute.dart

18 lines
297 B
Dart
Raw Normal View History

2020-07-27 20:43:58 +00:00
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,
};
}
}