GetEmailAddressResponse class
the response for GuerrillaMailApi.getEmailAddress requests.
- Inheritance
-
- Object
- GuerrillaMailApiResponse
- GetEmailAddressResponse
- Implementers
- Annotations
-
- @JsonSerializable()
Constructors
- GetEmailAddressResponse({required String emailAddress, required DateTime emailTimestamp, required String alias, String? aliasError, AuthResponse? auth})
-
GetEmailAddressResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
- alias → String
-
This is the scrambled version of email_addr, eg “fcs5d3+vgdtknvsyt4”. The
scrambled address is an alias for email_addr, so all email going to alias
will arrive at the inbox of email_addr. Scrambled addresses are used to
mask the email_addr, so it is difficult for someone else to know which
email_addr was used.
final
- aliasError → String?
-
Error message if the alias could not be set
final
- auth → AuthResponse?
-
finalinherited
- emailAddress → String
-
The email address that that was determined. If a previous session was
found, then it will be the email address of that session. A new random
email address will be created.
final
- emailTimestamp → DateTime
-
a UNIX timestamp when the email address was created. Used by the client
to keep track of expiry.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited