You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
994 B

4 years ago
class MemberRank {
MemberRank();
3 years ago
String? id;
String? nextId;
String? nextName;
int? nextOrigin;
String? rankContent;
String? rankImg;
String? rankName;
int? rankOrigin;
bool? status;
4 years ago
4 years ago
factory MemberRank.fromJson(Map<String, dynamic> json) => MemberRank()
..id = json['id'] as String
..nextId = json['nextId'] as String
..nextName = json['nextName'] as String
..nextOrigin = json['nextOrigin'] as int
..rankContent = json['rankContent'] as String
..rankImg = json['rankImg'] as String
..rankName = json['rankName'] as String
..rankOrigin = json['rankOrigin'] as int
..status = json['status'] as bool;
Map<String, dynamic> toJson() =><String, dynamic>{
'id': this.id,
'nextId': this.nextId,
'nextName': this.nextName,
'nextOrigin': this.nextOrigin,
'rankContent': this.rankContent,
'rankImg': this.rankImg,
'rankName': this.rankName,
'rankOrigin': this.rankOrigin,
'status': this.status,
};
}