accepts property Null safety

Map<String, MimeType> accepts

Returns mime types of the response accepted by the client of the HTTP request.

Implementation

Map<String, MimeType> get accepts => _accepts ??= _parseAccepts();