core.Map<core.String, core.dynamic> toJson() => { if (liveChatId != null) 'liveChatId': liveChatId!, if (moderatorDetails != null) 'moderatorDetails': moderatorDetails!, };