headers property
The HTTP headers of the current request with case-insensitive keys.
If a header occurs more than once in the query string, they are mapped to by concatenating them with a comma.
The returned map is unmodifiable.
Implementation
Map<String, String> get headers => _binding.request.headers.singleValues;