Email class
This class models a reference to an email address.
- Implemented types
- Annotations
Constructors
Properties
- address → String
-
The email address.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- label → String
-
The label of this email. It is useful for distinguishing different email
addresses.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
compareTo(
covariant Email other) → int -
The order of the comparisons is:
override
-
mailTo(
{required String subject, required String body}) → Future< bool> -
Sends an email to this email address. The
subject
and thebody
of the email are required. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
Creates a
Map<String, dynamic> map
representation of this instance. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator <(
covariant Email other) → bool -
Returns if this instance is less than the
other
. -
operator <=(
covariant Email other) → bool -
Return if this instance is less than or equal to the
other
. -
operator ==(
covariant Email other) → bool -
The equality operator.
override
-
operator >(
covariant Email other) → bool -
Return if this instance is greater than the
other
. -
operator >=(
covariant Email other) → bool -
Return if this instance is greater than or equal to the
other
.