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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
298 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,
};
}
}