User.fromJson constructor
Implementation
User.fromJson(Map<String, dynamic> json)
: tag = json["tag"] ??"",
name = json["name"] ??"",
roomId = json["room_id"] ??-1,
doomId = json["doom_id"] ??-1,
location = json["location"] ?? "",
state = json["state"] ?? "",
token = json["token"] ?? "error in fromJson";