/// id : "1420215467561189376" /// createTime : "2021-07-28 10:58:26" /// createUser : "0" /// updateTime : "2021-07-28 10:58:29" /// updateUser : "0" /// mid : "1406879717390286848" /// title : "充值成功" /// content : "你于2021-07-28 10:52:02充值0.01元,当前余额:0.08元。" /// typed : 3 /// relational : "" /// state : 1 /// isDelete : 0 class Message { String _id; String _createTime; String _createUser; String _updateTime; String _updateUser; String _mid; String _title; String _content; int _typed; String _relational; int _state; int _isDelete; String get id => _id; String get createTime => _createTime; String get createUser => _createUser; String get updateTime => _updateTime; String get updateUser => _updateUser; String get mid => _mid; String get title => _title; String get content => _content; int get typed => _typed; String get relational => _relational; int get state => _state; int get isDelete => _isDelete; Message({ String id, String createTime, String createUser, String updateTime, String updateUser, String mid, String title, String content, int typed, String relational, int state, int isDelete}){ _id = id; _createTime = createTime; _createUser = createUser; _updateTime = updateTime; _updateUser = updateUser; _mid = mid; _title = title; _content = content; _typed = typed; _relational = relational; _state = state; _isDelete = isDelete; } Message.fromJson(dynamic json) { _id = json["id"]; _createTime = json["createTime"]; _createUser = json["createUser"]; _updateTime = json["updateTime"]; _updateUser = json["updateUser"]; _mid = json["mid"]; _title = json["title"]; _content = json["content"]; _typed = json["typed"]; _relational = json["relational"]; _state = json["state"]; _isDelete = json["isDelete"]; } Map toJson() { var map = {}; map["id"] = _id; map["createTime"] = _createTime; map["createUser"] = _createUser; map["updateTime"] = _updateTime; map["updateUser"] = _updateUser; map["mid"] = _mid; map["title"] = _title; map["content"] = _content; map["typed"] = _typed; map["relational"] = _relational; map["state"] = _state; map["isDelete"] = _isDelete; return map; } }