mirror of
https://github.com/supanadit/geo-smart-app.git
synced 2024-11-14 04:02:23 +00:00
21 lines
365 B
Dart
21 lines
365 B
Dart
class UniqueIDModel {
|
|
String id;
|
|
bool error = false;
|
|
|
|
UniqueIDModel({this.id});
|
|
|
|
UniqueIDModel.fromJson(Map<String, dynamic> json) {
|
|
id = json['id'];
|
|
}
|
|
|
|
UniqueIDModel.error() {
|
|
error = true;
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
data['id'] = this.id;
|
|
return data;
|
|
}
|
|
}
|