MimeTypeResolverExtension extension

on
  • MimeTypeResolver

Methods

addDynamic(dynamic value, String mimeType) → void

Available on MimeTypeResolver, provided by the MimeTypeResolverExtension extension

addExtensionAndMagicNumber(String extension, String mimeType, List<int> bytes, {List<int>? mask}) → void

Available on MimeTypeResolver, provided by the MimeTypeResolverExtension extension

addMap(Map<String, dynamic> map) → void

Available on MimeTypeResolver, provided by the MimeTypeResolverExtension extension

lookupDynamic(String extension, {List<int>? headerBytes, String defaultMimeType = 'application/octet-stream'}) String

Available on MimeTypeResolver, provided by the MimeTypeResolverExtension extension