RestApiClientRequestOptions constructor

RestApiClientRequestOptions({
  1. Map<String, dynamic>? headers,
  2. String? contentType,
  3. bool silentException = false,
})

Constructor for creating an instance of RestApiClientRequestOptions.

The headers and contentType parameters are optional, while the silentException defaults to false, meaning exceptions will be thrown unless specified.

Implementation

RestApiClientRequestOptions({
  this.headers,
  this.contentType,
  this.silentException = false,
});