CosmosDB constructor

CosmosDB({
  1. required dynamic masterKey,
  2. required dynamic baseUrl,
  3. Client? httpClient,
})

Configures the APIs with the credentials and a custom but optional http client

Implementation

CosmosDB({required masterKey, required baseUrl, Client? httpClient})
    : _client = CosmosDBHttpClient(
          masterKey: masterKey, baseUrl: baseUrl, httpClient: httpClient);