Api constructor

Api({
  1. Client? httpClient,
  2. Uri? baseUri,
  3. String? bearerToken,
})

Implementation

Api({Client? httpClient, this.baseUri, this.bearerToken})
    : httpClient = httpClient ?? Client();