toJson method
Encodes this object as JSON.
Implementation
JsonMap toJson() => {
'account_id': accountId,
'event': event.value,
'from': from,
'recipient': recipient,
'subject': subject,
'message_id_header': messageIdHeader,
'url': url,
'user_agent': userAgent,
'ip': ip,
'id': id,
'is_bot': ?isBot,
};