Client constructor
Client(
- SignatureMethod _signatureMethod,
- ClientCredentials _clientCredentials,
- Credentials _credentials, [
- BaseClient? httpClient,
A constructor of Client.
If you want to use in web browser, pass http.BrowserClient object for httpClient. https://api.dartlang.org/apidocs/channels/stable/dartdoc-viewer/http/http-browser_client.BrowserClient
Implementation
Client(this._signatureMethod, this._clientCredentials, this._credentials,
[http.BaseClient? httpClient])
: _httpClient =
httpClient != null ? httpClient : http.Client() as http.BaseClient;