UserModel.fromJson constructor

UserModel.fromJson(
  1. Map<String, dynamic> json
)

Implementation

UserModel.fromJson(Map<String, dynamic> json)
    : roomId = json["roomId"],
      nickName = json["nickName"],
      clientKey = json["clientKey"],
      grade = json["grade"],
      userInfo = json["userInfo"];