hasFileExtension method
Returns whether this context has any of the given file extensions, ignoring case. */
Implementation
bool hasFileExtension(List<String> fileExtensions) =>
fileExtensions.any((fileExtension) =>
this.fileExtensions.contains(fileExtension.toLowerCase()));