Headers.fromMap constructor Null safety

Headers.fromMap(
  1. Map<String, List<String>> map
)

Implementation

Headers.fromMap(Map<String, List<String>> map)
    : _map = caseInsensitiveKeyMap<List<String>>(
        map.map((k, v) => MapEntry(k.trim().toLowerCase(), v)),
      );