SearchResponse class

Annotations
  • @JsonSerializable()

Constructors

SearchResponse({String? query, int? from, int? page, int? pageSize, String? provider, int? total, List<SearchMatch>? matches, double? maxScore})
SearchResponse.fromJson(Map<String, dynamic> json)
factory

Properties

from int?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
matches List<SearchMatch>?
getter/setter pair
maxScore double?
getter/setter pair
page int?
getter/setter pair
pageSize int?
getter/setter pair
provider String?
getter/setter pair
query String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
total int?
getter/setter pair

Methods

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

listFromJson(List json) List<SearchResponse>
mapFromJson(Map<String, dynamic> json) Map<String, SearchResponse>