Email class Null safety
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.
read / write
- customLabel ↔ String
-
Custom label, if label is EmailLabel.custom.
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, override
- isPrimary ↔ bool
-
Whether this is the email address to email by default for that contact
(Android only).
read / write
- label ↔ EmailLabel
-
Label (default EmailLabel.home).
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
Operators
-
operator ==(
Object o) → bool -
The equality operator. [...]
override