toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'message': message,
'position': position,
'sender': sender,
'smtpReplyCode': smtpReplyCode,
'statusCode': ?statusCode,
'topicArn': ?topicArn,
};
}