HttpClient constructor
const
HttpClient({})
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,
});