factory GroupChannel.fromJson(Map<String, dynamic> json) { return _$GroupChannelFromJson(json) ..set(SendbirdChat().chat); // Set the singleton chat }