factory User.fromJsonWithChat(Chat chat, Map<String, dynamic> json) { return User.fromJson(json)..set(chat); }