/// createTime : "" /// createUser : 0 /// id : 0 /// rankContent : "" /// rankImg : "" /// rankName : "" /// rankOrigin : 0 /// status : true /// updateTime : "" /// updateUser : 0 class Rank { String _createTime; String _createUser; String _id; String _price; String _rankContent; String _rankImg; String _rankName; int _rankOrigin; int _level; bool _status; String _updateTime; String _updateUser; String get createTime => _createTime; String get createUser => _createUser; String get id => _id; String get price => _price; String get rankContent => _rankContent; String get rankImg => _rankImg; String get rankName => _rankName; int get rankOrigin => _rankOrigin; int get level => _level; bool get status => _status; String get updateTime => _updateTime; String get updateUser => _updateUser; Rank({ String createTime, String createUser, String id, String rankContent, String rankImg, String rankName, int rankOrigin, int level, bool status, String updateTime, String updateUser}){ _createTime = createTime; _createUser = createUser; _id = id; _price = price; _rankContent = rankContent; _rankImg = rankImg; _rankName = rankName; _rankOrigin = rankOrigin; _level = level; _status = status; _updateTime = updateTime; _updateUser = updateUser; } Rank.fromJson(dynamic json) { _createTime = json["createTime"]; _createUser = json["createUser"]; _id = json["id"]; _price = json["price"]; _rankContent = json["rankContent"]; _rankImg = json["rankImg"]; _rankName = json["rankName"]; _rankOrigin = json["rankOrigin"]; _level = json["level"]; _status = json["status"]; _updateTime = json["updateTime"]; _updateUser = json["updateUser"]; } Map toJson() { var map = {}; map["createTime"] = _createTime; map["createUser"] = _createUser; map["id"] = _id; map["price"] = _price; map["rankContent"] = _rankContent; map["rankImg"] = _rankImg; map["rankName"] = _rankName; map["rankOrigin"] = _rankOrigin; map["level"] = _level; map["status"] = _status; map["updateTime"] = _updateTime; map["updateUser"] = _updateUser; return map; } }