headers property

Map<String, String>? headers
getter/setter pair

The headers for the resource response. If headers isn't null, then you need to set also statusCode and reasonPhrase.

NOTE: available on Android 21+. For Android < 21 it won't be used.

Implementation

Map<String, String>? headers;