newHeaders method
Checks and adds the authHeaders to any requests made to the server
Implementation
Future<Map<String, String>> newHeaders(Map<String, String>? headers) async {
headers ??= <String, String>{};
headers.addAll(authHeaders ?? <String, String>{});
return headers;
}