Email class

Labeled email.

Constructors

Email(String address, {EmailLabel label = EmailLabel.home, String customLabel = '', bool isPrimary = false})
Email.fromJson(Map<String, dynamic> json)
factory

Properties

address String
Email address.
getter/setter pair
customLabel String
Custom label, if label is EmailLabel.custom.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
isPrimary bool
Whether this is the email address to email by default for that contact (Android only).
getter/setter pair
label EmailLabel
Label (default EmailLabel.home).
getter/setter pair
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>
toString() String
A string representation of this object.
override
toVCard() List<String>

Operators

operator ==(Object o) bool
The equality operator.
override