CheckEmailResponse class
the response for GuerrillaMailApi.checkEmail requests.
- Inheritance
-
- Object
- GuerrillaMailApiResponse
- CheckEmailResponse
- Annotations
-
- @JsonSerializable()
Constructors
-
CheckEmailResponse({required List<
Message> list, required int count, required String email, required DateTime timestamp, int? users = 1, required Stats stats, AuthResponse? auth}) -
CheckEmailResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
- auth → AuthResponse?
-
finalinherited
- count → int
-
The number of emails matched. This can be much more than the maximum that
can be returned (20)! This number indicates the total number of new
emails in the database. (If you want to get the emails after the first
20, then make another call with the get_older_list function
final
- email → String
-
The email address which the list is for. Eg. test@guerrillamailblock.com
The client would need to watch this variable to detect any changes to
sync the address.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
list
→ List<
Message> -
A list of messages, represented as an array of objects.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stats → Stats
-
final
- timestamp → DateTime
-
The timestamp of the email address, time of when the email address was
created. The client can use this variable to sync the time. Emails expire
after 60 minutes
final
- users → int?
-
the number of users viewing this inbox (not exact)
final
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