EmailAddress class

Represents an email address.

Each instance holds the name associated with the email address and the address itself.

Constructors

EmailAddress({String? name, String? address})
Creates a new instance of EmailAddress.
EmailAddress.fromJson(Map<String, dynamic> json)
Creates a new instance of EmailAddress from a JSON object.
factory

Properties

address → String?
The email address.
final
hashCode → int
The hash code for this object.
no setterinherited
name → String?
The name associated with the email address.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Converts this EmailAddress object to a JSON object.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited