toFullCliOptName method
Prepends option name with prefix depending on isPositive
Implementation
String toFullCliOptName(bool isPositive) {
switch (this[0]) {
case '-':
case '+':
return this;
default:
return (isPositive ? '-' : '+') + this;
}
}