isSupported method

bool isSupported(
  1. File file
)

Checks if this stringer supports the given file based on its extension.

@param file The file to check for compatibility @return true if this stringer can process the file, false otherwise

Implementation

bool isSupported(File file) =>
    supportedFormats.contains(file.path.split(".").last.toLowerCase());