containsArg method
return true
if contains flags
example run
sunac sort . --skipRename
print(containsArg('--skipRename')); // true
print(containsArg('--relative')); // false
Implementation
bool containsArg(String flag) {
return _args.contains(flag);
}