Sorry if this question so basic, but I am new to flutter and recently couldn\'t find a good way to set a default headers in the HTTP request I can extend the class or wrap a fun
this simple and easy way worked for me
var _dio = Dio(); _dio.options.headers= {"Authorization" : token};