toJson method
Implementation
Map<String, dynamic> toJson() {
return {
...?unknown,
'message': message,
if (contactEmail != null) 'contact_email': contactEmail,
if (name != null) 'name': name,
if (replayId != null) 'replay_id': replayId,
if (url != null) 'url': url,
if (associatedEventId != null)
'associated_event_id': associatedEventId.toString(),
};
}