Email class

Available extensions
Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

Email({required String data, required bool primary, required EmailType type})
Email.fromJson(Map<String, dynamic> json)
factory

Properties

data String
final
hashCode int
The hash code for this object.
no setteroverride
primary bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type EmailType
final

Methods

copyWith({String? data, bool? primary, EmailType? type}) Email

Available on Email, provided by the $EmailExtension extension

copyWithWrapped({Wrapped<String>? data, Wrapped<bool>? primary, Wrapped<EmailType>? type}) Email

Available on Email, provided by the $EmailExtension extension

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

Operators

operator ==(dynamic other) bool
The equality operator.
override

Constants

fromJsonFactory → const Email Function(Map<String, dynamic> json)
toJsonFactory → const Map<String, dynamic> Function(Email instance)