toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (agentUserId != null) 'agentUserId': agentUserId!,
if (eventId != null) 'eventId': eventId!,
if (followUpToken != null) 'followUpToken': followUpToken!,
if (payload != null) 'payload': payload!,
if (requestId != null) 'requestId': requestId!,
};