httpClient property

HttpClient? get httpClient

Returns HttpClient. Instantiates one if is null.

Implementation

HttpClient? get httpClient {
  _httpClient ??= HttpClient(baseURL);
  return _httpClient;
}