Constructors
-
const
factory
Methods
-
map<TResult extends Object?>({required TResult page(PagePagination value), required TResult cursor(CursorPagination value)})
→ TResult
-
inherited
-
mapOrNull<TResult extends Object?>({TResult? page(PagePagination value)?, TResult? cursor(CursorPagination value)?})
→ TResult?
-
inherited
-
maybeMap<TResult extends Object?>({TResult page(PagePagination value)?, TResult cursor(CursorPagination value)?, required TResult orElse()})
→ TResult
-
inherited
-
maybeWhen<TResult extends Object?>({TResult page(int currentPage, int perPage, int total)?, TResult cursor(String startCursor, String endCursor, bool hasNextPage)?, required TResult orElse()})
→ TResult
-
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson()
→ Map<String, dynamic>
-
Converts the pagination to a json map
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
when<TResult extends Object?>({required TResult page(int currentPage, int perPage, int total), required TResult cursor(String startCursor, String endCursor, bool hasNextPage)})
→ TResult
-
inherited
-
whenOrNull<TResult extends Object?>({TResult? page(int currentPage, int perPage, int total)?, TResult? cursor(String startCursor, String endCursor, bool hasNextPage)?})
→ TResult?
-
inherited