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
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