$Client class
Constructors
-
$Client.new(Uri baseURL, {Map<
String, String> ? baseHeaders, String? userAgent, HttpClient? httpClient, CookieJar? cookieJar, List<DynamiteAuthentication> authentications = const []}) - $Client.fromClient(DynamiteClient client)
Properties
- appConfig → $AppConfigClient
-
no setter
- apps → $AppsClient
-
no setter
-
authentications
→ List<
DynamiteAuthentication> -
The available authentications for this client.
finalinherited
-
baseHeaders
→ Map<
String, String> ? -
The base headers added to each request.
finalinherited
- baseURL → Uri
-
The base server url used to build the request uri.
finalinherited
-
The optional cookie jar to persist the response cookies.
finalinherited
- groups → $GroupsClient
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- httpClient → HttpClient
-
The base http client.
finalinherited
- preferences → $PreferencesClient
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- users → $UsersClient
-
no setter
Methods
-
executeRawRequest(
String method, Uri uri, Map< String, String> headers, Uint8List? body, Set<int> ? validStatuses) → Future<HttpClientResponse> -
Executes a HTTP request against give full
uri
.inherited -
executeRequest(
String method, String path, Map< String, String> headers, Uint8List? body, Set<int> ? validStatuses) → Future<HttpClientResponse> -
Makes a request against a given
path
.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited