ofFilePathWithSingleHint static method
Resolves a format from a local file path.
Implementation
static Future<MediaType?> ofFilePathWithSingleHint(String path,
{String? mediaType,
String? fileExtension,
List<Sniffer> sniffers = MediaType.sniffers}) =>
ofFileWithSingleHint(File(path),
mediaType: mediaType,
fileExtension: fileExtension,
sniffers: sniffers);