isExecutableFilePath static method
Implementation
static bool isExecutableFilePath(String filePath,
[List<String>? executableExtensions]) {
executableExtensions ??= defaultExecutableExtensions;
return executableExtensions
.where((ext) => filePath.endsWith('.$ext'))
.isNotEmpty;
}