toJson method
Implementation
Map<String, dynamic> toJson() {
final message = this.message;
final sender = this.sender;
final smtpReplyCode = this.smtpReplyCode;
final statusCode = this.statusCode;
final topicArn = this.topicArn;
return {
'Message': message,
'Sender': sender,
'SmtpReplyCode': smtpReplyCode,
if (statusCode != null) 'StatusCode': statusCode,
if (topicArn != null) 'TopicArn': topicArn,
};
}