GetFileExtension constructor

const GetFileExtension({
  1. required String mimeType,
})

Returns the extension of a file, guessed by its MIME type. Returns an empty string on failure. Can be called synchronously

Implementation

const GetFileExtension({
  required this.mimeType,
});