toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['userID'] = userID;
  data['nickName'] = nickName;
  data['faceUrl'] = faceUrl;
  data['selfSignature'] = selfSignature;
  data['gender'] = gender;
  data['allowType'] = allowType;
  data['customInfo'] = customInfo;
  data['role'] = role;
  data['level'] = level;
  data['birthday'] = birthday;
  return data;
}