GetFileMimeType constructor
const
GetFileMimeType({
- required String fileName,
Returns the MIME type of a file, guessed by its extension. Returns an empty string on failure. Can be called synchronously
Implementation
const GetFileMimeType({
required this.fileName,
});