type property Null safety
read / write
This property represents the type of the query which is defaults to QueryType.search, valid values are QueryType.search, QueryType.term, QueryType.range & QueryType.geo.
You can read more here.
Implementation
QueryType? type;