toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (dialogflowParticipant != null)
'dialogflowParticipant': dialogflowParticipant!,
if (dialogflowParticipantName != null)
'dialogflowParticipantName': dialogflowParticipantName!,
if (obfuscatedExternalUserId != null)
'obfuscatedExternalUserId': obfuscatedExternalUserId!,
if (role != null) 'role': role!,
if (userId != null) 'userId': userId!,
};