copyWithAttribute method
Copies this account with the attribute name and value
Compare copyWith, copyWithAlias
Implementation
MailAccount copyWithAttribute(String name, dynamic value) {
final attributes =
this.attributes.isEmpty ? <String, dynamic>{} : this.attributes;
attributes[name] = value;
return copyWith(attributes: attributes);
}