headers property Null safety

Map<String, dynamic> headers

Returns the client request headers.

Throws HttpProfileRequestError is hasError is true.

Implementation

Map<String, dynamic> get headers => UnmodifiableMapView(
      _returnIfNoError(_headers),
    );