toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (content != null) 'content': content!,
  if (createTime != null) 'createTime': createTime!,
  if (languageCode != null) 'languageCode': languageCode!,
  if (messageAnnotation != null) 'messageAnnotation': messageAnnotation!,
  if (name != null) 'name': name!,
  if (participant != null) 'participant': participant!,
  if (participantRole != null) 'participantRole': participantRole!,
  if (sendTime != null) 'sendTime': sendTime!,
  if (sentimentAnalysis != null) 'sentimentAnalysis': sentimentAnalysis!,
};