toMap method

Map<String, String> toMap()

Implementation

Map<String, String> toMap() {
  return <String, String>{
    if (responseCacheControl != null)
      'response-cache-control': responseCacheControl!,
    if (responseContentDisposition != null)
      'response-content-disposition': responseContentDisposition!,
    if (responseContentEncoding != null)
      'response-content-encoding': responseContentEncoding!,
    if (responseContentLanguage != null)
      'response-content-language': responseContentLanguage!,
    if (responseContentType != null)
      'response-content-type': responseContentType!,
    if (responseExpires != null) 'response-expires': responseExpires!,
    if (versionId != null) 'versionId': versionId!,
  };
}