SearchQueryType enum Null safety

Which part of the message should be searched

Constants

allTextHeaders → const SearchQueryType

Search in all common headers (not every mail provider supports this)

const SearchQueryType(4)
body → const SearchQueryType

Search for matches in the body of the message (a very resource intensive search, not every mail provider supports this)

const SearchQueryType(3)
from → const SearchQueryType

Search for matching From header

const SearchQueryType(1)
fromOrSubject → const SearchQueryType

Search in either FROM or in SUBJECT - specifically useful in cases where the mail provider does not support allTextHeaders

const SearchQueryType(5)
fromOrTo → const SearchQueryType

Search for matching To or From headers

const SearchQueryType(7)
subject → const SearchQueryType

Search for matching Subject header

const SearchQueryType(0)
to → const SearchQueryType

Search for matching To header

const SearchQueryType(2)
toOrSubject → const SearchQueryType

Search in either TO or in SUBJECT - specifically useful in cases where the mail provider does not support allTextHeaders

const SearchQueryType(6)
values → const List<SearchQueryType>

A constant List of the values in this enum, in order of their declaration.

const List<SearchQueryType>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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