client property

Client get client

Returns the current HTTP http.Client instance to use in this class.

The return value is guaranteed to never be null.

Implementation

http.Client get client => _client;
set client (Client newClient)

Requests to use a new HTTP http.Client in this class.

Implementation

set client(http.Client newClient) {
  _client = newClient;
}