PaginationHelper class

Internal Helper for dealing with GitHub Pagination.

Constructors

PaginationHelper(GitHub github)

Properties

github GitHub
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fetchStreamed(String method, String path, {int? pages, Map<String, String>? headers, Map<String, dynamic>? params, String? body, int statusCode = 200}) Stream<Response>
jsonObjects<T>(String method, String path, {int? pages, Map<String, String>? headers, Map<String, dynamic>? params, String? body, int statusCode = 200, String? preview, String? arrayKey}) Stream<T>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
objects<S, T>(String method, String path, JSONConverter<S, T> converter, {int? pages, Map<String, String>? headers, Map<String, dynamic>? params, String? body, int statusCode = 200, String? preview, String? arrayKey}) Stream<T>
If the response body is a JSONObject (and not a JSONArray), use arrayKey to specify the key under which the array is stored.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited