Search class
Search result.
- Inheritance
-
- Object
- SearchResult
- Search
Constructors
- Search(SearchResult result, {required SearchQuery query, required SearchSort sort, required int page})
- Creates a search result.
Properties
-
books
→ List<
Book> -
books length can't exceed perPage size.
finalinherited
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- page → int
-
Associated search page.
final
- pages → int
-
Total pages available.
finalinherited
- perPage → int
-
Number of maximum books per single search page.
finalinherited
- query → SearchQuery
-
Query used for this search.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- sort → SearchSort
-
Sort used for this search.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
inherited
-
toMap(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
Returns string summary of this search.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited