toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (interactionType != null) 'interactionType': interactionType!,
if (responseToken != null) 'responseToken': responseToken!,
if (subtype != null) 'subtype': subtype!,
if (type != null) 'type': type!,
};