RequestBuilder class abstract

Abstract class for request builders.

Implementers

Constructors

RequestBuilder(Client httpClient, Uri serverURI, List<String>? defaultSegment)

Properties

hashCode int
The hash code for this object.
no setterinherited
httpClient ↔ Client
getter/setter pair
queryParameters Map<String, String>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uriBuilder Uri
getter/setter pair

Methods

buildUri() Uri
cursor(String cursor) RequestBuilder
Sets cursor parameter on the request. A cursor is a value that points to a specific location in a collection of resources. The cursor attribute itself is an opaque value meaning that users should not try to parse it.
encodeAsset(Asset asset) String
encodeAssets(List<Asset> assets) String
limit(int number) RequestBuilder
Sets limit parameter on the request. It defines maximum number of records to return. For range and default values check documentation of the endpoint requested.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
order(RequestBuilderOrder direction) RequestBuilder
Sets order parameter on the request.
setSegments(List<String> segments) RequestBuilder
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

headers Map<String, String>
final