supportsFileType method

bool supportsFileType(
  1. String fileExtension
)

Implementation

bool supportsFileType(String fileExtension) {
  fileExtension = fileExtension.toLowerCase();

  for (var handler in _handlers) {
    if (handler.types.contains(fileExtension)) {
      return true;
    }
  }

  return false;
}