defaultHeaders property
Headers that are used for multiple Calls
Implementation
Map<String, String> get defaultHeaders => (<String, String?>{
HttpHeaders.authorizationHeader: authenticator.header,
HttpHeaders.contentTypeHeader: ContentType.json,
}..removeWhere((key, value) => value == null))
.map((key, value) => MapEntry(key, value!));