ElasticResponseMetaPage class
Object delimiting the pagination meta data.
- Annotations
-
- @freezed
Constructors
- ElasticResponseMetaPage({required int current, required int size, @JsonKey(name: "total_pages") required int totalPages, @JsonKey(name: "total_results") required int totalResults})
-
factory
-
ElasticResponseMetaPage.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
copyWith
→ $ElasticResponseMetaPageCopyWith<
ElasticResponseMetaPage> -
no setterinherited
- current → int
-
Number representing the current page of results.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int
-
Number representing the results per page.
no setterinherited
- totalPages → int
-
Number representing the total pages of results.
Value is 0 when you paginate beyond 10,000 results.
no setterinherited
- totalResults → int
-
Number representing the total results across all pages.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited