add structure
This commit is contained in:
13
lib/vo/status.dart
Normal file
13
lib/vo/status.dart
Normal file
@@ -0,0 +1,13 @@
|
||||
|
||||
class Status {
|
||||
String status;
|
||||
String message;
|
||||
String errorCode;
|
||||
Status(this.status, this.message);
|
||||
|
||||
Status.fromJson(Map<String, dynamic> json) {
|
||||
status = json['status'];
|
||||
message = json['message'];
|
||||
errorCode = json['error_code'];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user