mirror of
https://github.com/DefinedNet/mobile_nebula.git
synced 2025-02-19 01:35:27 +00:00
14 lines
303 B
Dart
14 lines
303 B
Dart
class UnsafeRoute {
|
|
String? route;
|
|
String? via;
|
|
|
|
UnsafeRoute({this.route, this.via});
|
|
|
|
factory UnsafeRoute.fromJson(Map<String, dynamic> json) {
|
|
return UnsafeRoute(route: json['route'], via: json['via']);
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
return {'route': route, 'via': via};
|
|
}
|
|
}
|