userFullInfoExtract static method

Map<String, dynamic> userFullInfoExtract(
  1. Map<String, dynamic> profile
)

Implementation

static Map<String, dynamic> userFullInfoExtract(
    Map<String, dynamic> profile) {
  return <String, dynamic>{
    'userID': profile['userID'],
    'faceUrl': profile['avatar'],
    'allowType': convertAllowTypeFromWebToDart(profile['allowType']),
    'nickName': profile['nick'],
    'selfSignature': profile['selfSignature'],
    'gender': convertGenderFromWebToDart(profile['gender']),
    'role': profile['role'],
    'level': profile['level'],
    'customInfo':
        convertCustomInfoFromWebToDart(profile['profileCustomField'])
  };
}