SearchResult class

Annotations
  • @JsonSerializable()

Constructors

SearchResult()
SearchResult.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
hasMore bool?
getter/setter pair
query PagedQuery?
getter/setter pair
replacementContinuationToken String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalResults int?
getter/setter pair
useTotalResults bool?
If useTotalResults is true, then totalResults represents an accurate count. If False, it does not, and may be estimated/only the size of the current page. Either way, you should probably always only trust hasMore. This is a long-held historical throwback to when we used to do paging with known total results. Those queries toasted our database, and we were left to hastily alter our endpoints and create backward- compatible shims, of which useTotalResults is one.
getter/setter pair

Methods

asyncToJson() Future<Map<String, dynamic>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

asyncFromJson(Map<String, dynamic> json) Future<SearchResult>