toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (action != null) 'action': action!,
if (card != null) 'card': card!,
if (openDynamicLinkAction != null)
'openDynamicLinkAction': openDynamicLinkAction!,
if (openLink != null) 'openLink': openLink!,
};