add setting, alertbox, etc

This commit is contained in:
Simon Ding
2024-07-05 14:45:42 +08:00
parent 321e36bb43
commit 6e50e84694
9 changed files with 167 additions and 10 deletions

View File

@@ -0,0 +1,11 @@
class ServerResponse {
final int code;
final String message;
final dynamic data;
ServerResponse(this.code, this.message, this.data);
ServerResponse.fromJson(Map<String, dynamic> json)
: code = json["code"] as int,
message = json["message"] as String,
data = json["data"];
}