addContentType function

  1. @Deprecated('Use getMimeType instead')
void addContentType(
  1. String extension,
  2. String mimeType
)

Adds additional content type for the given extension. Note: it overrides the system default if any.

Implementation

@Deprecated('Use getMimeType instead')
void addContentType(String extension, String mimeType)
=> addMimeType(extension, mimeType);