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