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