extractHeaderDoubleValue function

double? extractHeaderDoubleValue(
  1. Map<String, String> headers,
  2. String name
)

Implementation

double? extractHeaderDoubleValue(Map<String, String> headers, String name) {
  final v = extractHeaderStringValue(headers, name);
  return v == null ? null : num.parse(v).toDouble();
}