GiphyPagination class
Provides pagination information for a GiphyCollection
Constructors
- GiphyPagination({required int? totalCount, required int count, required int offset, required int? nextCursor})
-
Creates a new pagination
const
-
GiphyPagination.fromJson(Map<
String, dynamic> json) -
Creates a new pagination from
json
factory
Properties
- count → int
-
The number of loaded elements in the current page
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- nextCursor → int?
-
Next cursor.
final
- offset → int
-
The current offset for the page data
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalCount → int?
-
The number of all elements
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts the pagination to JSON
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override