EmailAddress class

Represents an email address with an optional label such as "home" or "work".

Constructors

EmailAddress({String? email, String? label})
Creates an EmailAddress with an email and optional label.
EmailAddress.fromMap(Map map)
Creates an EmailAddress instance from a map returned by the native platform.
factory

Properties

email String?
The email address value.
final
hashCode int
The hash code for this object.
no setterinherited
label String?
The label describing the email type (e.g. "home", "work").
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
toString() String
A string representation of this object.
override

Operators

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