isConfigurationFileName property
bool
get
isConfigurationFileName
检查字符串是否为配置文件名。
Implementation
bool get isConfigurationFileName {
final String path = toLowerCase();
return path.endsWith(".ini") ||
path.endsWith(".conf") ||
path.endsWith('.py') ||
path.endsWith('.json');
}