buildOptions method

Options? buildOptions()

Returns Dio Options for this request.

Defaults to an Options instance carrying only the HTTP method. Body mixins call super.buildOptions() and enrich the result with a Content-Type header before returning.

Implementation

Options? buildOptions() => Options(method: method);