SearchQueryBuilder class

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.from(String query, SearchQueryType queryType, {SearchMessageType? messageType, DateTime? since, DateTime? before, DateTime? sentSince, DateTime? sentBefore})
Creates a common search query.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
searchTerms → List<SearchTerm>
The terms for this search query
final

Methods

add(SearchTerm term) → void
Adds a new search term
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render(StringBuffer buffer) → void
Renders this search query to the given buffer.
toString() → String
A string representation of this object.
override

Operators

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