HttpClientImpl constructor

HttpClientImpl({
  1. Client? client,
  2. Duration timeout = const Duration(seconds: 30),
})

Implementation

HttpClientImpl({
  http.Client? client,
  this.timeout = const Duration(seconds: 30),
}) : _client = client ?? http.Client();