geo-smart-app/lib/model/unique_id.dart

16 lines
279 B
Dart
Raw Normal View History

2019-10-31 15:51:22 +00:00
class UniqueId {
String id;
UniqueId({this.id});
UniqueId.fromJson(Map<String, dynamic> json) {
id = json['id'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['id'] = this.id;
return data;
}
}