toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['accountType'] = this.accountType;
data['anchorIcon'] = this.anchorIcon;
data['anchorLevel'] = this.anchorLevel;
data['attenCnt'] = this.attenCnt;
data['fansCnt'] = this.fansCnt;
data['gender'] = this.gender;
data['id'] = this.id;
data['levelIcon'] = this.levelIcon;
data['myInviteCode'] = this.myInviteCode;
data['phone'] = this.phone;
data['userCls'] = this.userCls;
data['userIcon'] = this.userIcon;
data['userLevel'] = this.userLevel;
data['userName'] = this.userName;
data['userApplyAnchorState'] = userApplyAnchorState;
data['nobilityType'] = nobilityType;
return data;
}