extractHeaderBoolValue function

bool extractHeaderBoolValue(
  1. Map<String, String> headers,
  2. String name
)

Implementation

bool extractHeaderBoolValue(Map<String, String> headers, String name) {
  final v = extractHeaderStringValue(headers, name);
  return v?.toLowerCase() == 'true';
}