mirror of
https://github.com/simon-ding/polaris.git
synced 2026-06-01 23:47:50 +08:00
add setting, alertbox, etc
This commit is contained in:
@@ -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"];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user