GetFileMimeType constructor

const GetFileMimeType({
  1. 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,
});