extractHeaderJsonValue function
Implementation
Object? extractHeaderJsonValue(Map<String, String> headers, String name) {
final header = extractHeaderStringValue(headers, name);
if (header == null) return null;
return jsonDecode(utf8.decode(base64Decode(header))) as Object?;
}