toJson method

Map toJson()

Implementation

Map toJson() {

  return {
      'type': getStringFromEnum(type),
      'gender': getStringFromEnum(gender),
      'username': username,
      'appKey': appKey,
      'nickname': nickname,
      'avatarThumbPath': avatarThumbPath,
      'birthday': birthday,
      'region': region,
      'signature': signature,
      'address': address,
      'noteName': noteName,
      'noteText': noteText,
      'isNoDisturb': isNoDisturb,
      'isInBlackList': isInBlackList,
      'isFriend': isFriend,
      'extras': extras
    };
}