HttpClient constructor

const HttpClient({
  1. required String baseUrl,
  2. Logger? logger,
  3. Map<String, String>? authorizationHeaders,
})

baseUrl - a root to which all request will be made authorizationHeaders - collection of headers which will be applied to all requests

Implementation

const HttpClient({
  required this.baseUrl,
  this.logger,
  this.authorizationHeaders,
});