MimeTypeResolverExtension extension
- on
-
- MimeTypeResolver
Methods
-
addDynamic(
dynamic value, String mimeType) → void -
addExtensionAndMagicNumber(
String extension, String mimeType, List< int> bytes, {List<int> ? mask}) → void -
addMap(
Map< String, dynamic> map) → void -
lookupDynamic(
String extension, {List< int> ? headerBytes, String defaultMimeType = 'application/octet-stream'}) → String