withAuth method
Adding this to your Dio request options will trigger
the _AuthorizationInterceptor
to inject authorization headers before
executing the API call.
Future<void> getUser() {
Implementation
// return compute(
// dio.post(
// _getUserRoute,
// options: Options(headers: withAuth())
// )
// );
// }
/// ```
Map<String, dynamic> withAuth() => <String, String>{_authHeaderIndicator : ''};