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