SearchQueryBuilder class Null safety

Creates a new search query. In IMAP any search query is combined with AND meaning all conditions must be met by matching messages.

Constructors

SearchQueryBuilder()

Properties

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
searchTerms List<SearchTerm>
final

Methods

add(SearchTerm term) → void
Adds a new search term
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
render(StringBuffer buffer) → void
toString() String
A string representation of this object. [...]
override

Operators

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

Static Methods

from(String query, SearchQueryType queryType, {SearchMessageType? messageType, DateTime? since, DateTime? before, DateTime? sentSince, DateTime? sentBefore}) SearchQueryBuilder
Helper to create a common search query. query contains the search text, define where to search with the queryType. Optionally you can also define what kind of messages to search with the messageType, the internal date since a message has been received with since, the internal date before a message has been received with before, the internal date since a message has been sent with sentSince, the internal date before a message has been sent with sentBefore,