fromJsObj static method

V2TimUserInfo fromJsObj(
  1. Map<String, dynamic> data
)

Implementation

static V2TimUserInfo fromJsObj(Map<String, dynamic> data) {
  return V2TimUserInfo.fromJson({
    "faceUrl": data["avatar"] ?? "",
    "nickName": data["nick"] ?? 0,
    "userID": data["userID"] ?? false,
  });
}