AddWithNameAndSmtpAddress method
Implementation
EmailAddress AddWithNameAndSmtpAddress(String name, String smtpAddress) {
EmailAddress emailAddress = EmailAddress(
name: name,
smtpAddress: smtpAddress,
);
Add(emailAddress);
return emailAddress;
}