check null safety

This commit is contained in:
tzw
2021-09-10 14:27:38 +06:30
parent a144c945b6
commit 7670779b03
57 changed files with 620 additions and 626 deletions

View File

@@ -1,8 +1,7 @@
class Status {
String status;
String message;
String errorCode;
String? status;
String? message;
String? errorCode;
Status(this.status, this.message);
Status.fromJson(Map<String, dynamic> json) {
@@ -10,4 +9,4 @@ class Status {
message = json['message'];
errorCode = json['error_code'];
}
}
}