/// id : "1460450874352310812" /// createTime : "2021-11-12 11:42:08" /// createUser : "123" /// updateTime : "2021-11-17 17:49:17" /// updateUser : "1" /// categoryId : "1460164746211753984" /// name : "青铜" /// level : 0 /// icon : "https://pos.upload.gznl.top/admin/2021/11/a83f895b-8159-455e-a54d-ac67068b28b7.jpg" /// score : 10 /// actived : true /// sort : 0 /// isDelete : 0 /// lessScore : 0 /// get : true /// max : false class AchievementDetailList { AchievementDetailList({ String id, String createTime, String createUser, String updateTime, String updateUser, String categoryId, String name, int level, String icon, int score, bool actived, int sort, int isDelete, int lessScore, bool get, bool max,}){ _id = id; _createTime = createTime; _createUser = createUser; _updateTime = updateTime; _updateUser = updateUser; _categoryId = categoryId; _name = name; _level = level; _icon = icon; _score = score; _actived = actived; _sort = sort; _isDelete = isDelete; _lessScore = lessScore; _get = get; _max = max; } AchievementDetailList.fromJson(dynamic json) { _id = json['id']; _createTime = json['createTime']; _createUser = json['createUser']; _updateTime = json['updateTime']; _updateUser = json['updateUser']; _categoryId = json['categoryId']; _name = json['name']; _level = json['level']; _icon = json['icon']; _score = json['score']; _actived = json['actived']; _sort = json['sort']; _isDelete = json['isDelete']; _lessScore = json['lessScore']; _get = json['get']; _max = json['max']; } String _id; String _createTime; String _createUser; String _updateTime; String _updateUser; String _categoryId; String _name; int _level; String _icon; int _score; bool _actived; int _sort; int _isDelete; int _lessScore; bool _get; bool _max; String get id => _id; String get createTime => _createTime; String get createUser => _createUser; String get updateTime => _updateTime; String get updateUser => _updateUser; String get categoryId => _categoryId; String get name => _name; int get level => _level; String get icon => _icon; int get score => _score; bool get actived => _actived; int get sort => _sort; int get isDelete => _isDelete; int get lessScore => _lessScore; bool get get => _get; bool get max => _max; set id(String value) { _id = value; } Map toJson() { final map = {}; map['id'] = _id; map['createTime'] = _createTime; map['createUser'] = _createUser; map['updateTime'] = _updateTime; map['updateUser'] = _updateUser; map['categoryId'] = _categoryId; map['name'] = _name; map['level'] = _level; map['icon'] = _icon; map['score'] = _score; map['actived'] = _actived; map['sort'] = _sort; map['isDelete'] = _isDelete; map['lessScore'] = _lessScore; map['get'] = _get; map['max'] = _max; return map; } set createTime(String value) { _createTime = value; } set createUser(String value) { _createUser = value; } set updateTime(String value) { _updateTime = value; } set updateUser(String value) { _updateUser = value; } set categoryId(String value) { _categoryId = value; } set name(String value) { _name = value; } set level(int value) { _level = value; } set icon(String value) { _icon = value; } set score(int value) { _score = value; } set actived(bool value) { _actived = value; } set sort(int value) { _sort = value; } set isDelete(int value) { _isDelete = value; } set lessScore(int value) { _lessScore = value; } set get(bool value) { _get = value; } set max(bool value) { _max = value; } }