ChatUserInfo.fromJson constructor
- Map map
Implementation
factory ChatUserInfo.fromJson(Map map) {
  ChatUserInfo info = ChatUserInfo._private(
    map["userId"],
    nickName: map["nickName"],
    avatarUrl: map["avatarUrl"],
    mail: map["mail"],
    phone: map["phone"],
    gender: map["gender"] ?? 0,
    sign: map["sign"],
    birth: map["birth"],
    ext: map["ext"],
  );
  return info;
}