headers property

Map<String, String> get headers

An immutable dictionary of submitted headers. If a header appears multiple times it, needs to be merged according to the HTTP standard for header merging. Header names are treated case-insensitively by Sentry.

Implementation

Map<String, String> get headers => Map.unmodifiable(_headers ?? const {});