client property
Client
get
client
Returns the current HTTP Client
instance to use in this class.
The return value is guaranteed to never be null.
Implementation
Client get client => _client;
set
client
(Client newClient)
Requests to use a new HTTP Client
in this class.
If the newClient
is null, an ArgumentError is thrown.
Implementation
set client(Client newClient) {
_client = newClient;
}