JMUserInfo.fromJson constructor

JMUserInfo.fromJson(Map json)

Implementation

JMUserInfo.fromJson(Map<dynamic, dynamic> json)
  : username = json['username'],
    appKey = json['appKey'],
    nickname = json['nickname'],
    avatarThumbPath = json['avatarThumbPath'],
    birthday = json['birthday'],
    region = json['region'],
    signature = json['signature'],
    address = json['address'],
    noteName = json['noteName'],
    noteText = json['noteText'],
    isNoDisturb = json['isNoDisturb'],
    isInBlackList = json['isInBlackList'],
    isFriend = json['isFriend'],
    gender = getEnumFromString(JMGender.values, json['gender']),
    extras = json['extras'];