setHeaders method

dynamic setHeaders(
  1. Map<String, dynamic> headers
)
inherited

Set new headers to the baseOptions variable.

Implementation

setHeaders(Map<String, dynamic> headers) {
  _api.options.headers.addAll(headers);
}