EMUserInfo.fromJson constructor
- Map map
Implementation
factory EMUserInfo.fromJson(Map map) {
EMUserInfo info = EMUserInfo._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;
}