Headers.fromMap constructor
Implementation
Headers.fromMap(
Map<String, List<String>> map, {
this.preserveHeaderCase = false,
}) : _map = caseInsensitiveKeyMap<List<String>>(
map.map((k, v) => MapEntry(k.trim(), v)),
);
Headers.fromMap(
Map<String, List<String>> map, {
this.preserveHeaderCase = false,
}) : _map = caseInsensitiveKeyMap<List<String>>(
map.map((k, v) => MapEntry(k.trim(), v)),
);