RestApiClientOptions constructor

RestApiClientOptions({
  1. String baseUrl = '',
  2. bool overrideBadCertificate = true,
  3. bool cacheEnabled = false,
})

Constructor for creating an instance of RestApiClientOptions.

The baseUrl parameter must be provided to specify the API endpoint, while the other options have default values.

Implementation

RestApiClientOptions({
  this.baseUrl = '',
  this.overrideBadCertificate = true,
  this.cacheEnabled = false,
});