Search class Null safety

Response to a custom search request.


Search.fromJson(Map _json)


context Map<String, Object?>?
Metadata and refinements associated with the given search engine, including: * The name of the search engine that was used for the query. [...]
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
items List<Result>?
The current set of custom search results.
read / write
kind String?
Unique identifier for the type of current object. [...]
read / write
promotions List<Promotion>?
The set of promotions. [...]
read / write
queries SearchQueries?
Query metadata for the previous, current, and next pages of results.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
searchInformation SearchSearchInformation?
Metadata about a search operation.
read / write
spelling SearchSpelling?
Spell correction information for a query.
read / write
url SearchUrl?
OpenSearch template and URL.
read / write


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


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