FilterCriteria class

Message matching criteria.

Constructors

FilterCriteria()
FilterCriteria.fromJson(Map _json)

Properties

excludeChats ↔ bool
Whether the response should exclude chats.
read / write
from ↔ String
The sender's display name or email address.
read / write
hasAttachment ↔ bool
Whether the message has any attachment.
read / write
negatedQuery ↔ String
Only return messages not matching the specified query. Supports the same query format as the Gmail search box. For example, "from:someuser@example.com rfc822msgid: is:unread".
read / write
query ↔ String
Only return messages matching the specified query. Supports the same query format as the Gmail search box. For example, "from:someuser@example.com rfc822msgid: is:unread".
read / write
size ↔ int
The size of the entire RFC822 message in bytes, including all headers and attachments.
read / write
sizeComparison ↔ String
How the message size in bytes should be in relation to the size field. Possible string values are: [...]
read / write
subject ↔ String
Case-insensitive phrase found in the message's subject. Trailing and leading whitespace are be trimmed and adjacent spaces are collapsed.
read / write
to ↔ String
The recipient's display name or email address. Includes recipients in the "to", "cc", and "bcc" header fields. You can use simply the local part of the email address. For example, "example" and "example@" both match "example@gmail.com". This field is case-insensitive.
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() → Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited