Set new headers to the baseOptions variable.
headers
setHeaders(Map<String, dynamic> headers) { _api.options.headers.addAll(headers); }