ApiClient constructor

ApiClient(
  1. ApiClientConfig config
)

Creates an ApiClient with the given config.

Implementation

ApiClient(ApiClientConfig config)
  : _config = config,
    _httpService = HttpService(config.baseUrl),
    _responseHandler = config.responseHandler ?? ResponseHandler();