class MemberRank { MemberRank(); String? id; String? nextId; String? nextName; int? nextOrigin; String? rankContent; String? rankImg; String? rankName; int? rankOrigin; bool? status; factory MemberRank.fromJson(Map 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 toJson() =>{ '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, }; }