ClientContext class abstract

Constructors

ClientContext({required String bearerToken, OAuthTokens? oauthTokens, required Duration timeout, RetryConfig? retryConfig})
Returns the new instance of ClientContext.
factory

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

delete(UserContext userContext, Uri uri) Future<Response>
get(UserContext userContext, Uri uri) Future<Response>
getStream(UserContext userContext, StreamRequest request) Future<StreamedResponse>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
post(UserContext userContext, Uri uri, {Map<String, String> headers = const {}, dynamic body}) Future<Response>
postMultipart(UserContext userContext, Uri uri, {List<MultipartFile> files = const []}) Future<Response>
put(UserContext userContext, Uri uri, {Map<String, String> headers = const {}, dynamic body}) Future<Response>
toString() String
A string representation of this object.
inherited

Operators

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