CursorPages<T> class
Handles retrieval of a page through a cursor
- Inheritance
-
- Object
- SinglePages<
T, CursorPage< T> > - CursorPages
- Mixed in types
Constructors
-
CursorPages(SpotifyApiBase api, String path, ParserFunction<
T> pageParser, [String? pageKey, ParserFunction<Object> ? pageContainerMapper]) -
CursorPages.fromCursorPaging(SpotifyApiBase api, CursorPaging<
T> paging, ParserFunction<T> pageParser, [String? pageKey, ParserFunction<Object> ? pageContainerMapper])
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
all(
[int limit = defaultLimit]) → Future< Iterable< T> > -
inherited
-
first(
[int limit = defaultLimit]) → Future< CursorPage< T> > -
inherited
-
getPage(
int limit, [String after = '']) → Future< CursorPage< T> > -
Abstract method that is used to do the api call and json serializing
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
stream(
[dynamic limit = defaultLimit]) → Stream< CursorPage< T> > -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited