extractHeaderIntValue function

int? extractHeaderIntValue(
  1. Map<String, String> headers,
  2. String name
)

Implementation

int? extractHeaderIntValue(Map<String, String> headers, String name) {
  final v = extractHeaderStringValue(headers, name);
  return v == null ? null : int.parse(v);
}