mimeTypeForFile static method
Gets the MIME type for a file.
Implementation
@visibleForTesting
static String mimeTypeForFile(String path, {Uint8List? headerBytes}) =>
lookupMimeType(path, headerBytes: headerBytes) ?? defaultMimeType;
Gets the MIME type for a file.
@visibleForTesting
static String mimeTypeForFile(String path, {Uint8List? headerBytes}) =>
lookupMimeType(path, headerBytes: headerBytes) ?? defaultMimeType;