RestApiClientRequestOptions constructor
RestApiClientRequestOptions({})
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,
});