copyWithout method
Creates a copy of this configuration, with any true
parameters replaced
with null
.
Implementation
ArgConfig copyWithout(
{bool shortPrefix = false,
bool disableOptionsAfter = false,
bool inverseGenerator = false}) =>
ArgConfig(
longPrefix: longPrefix,
shortPrefix: shortPrefix ? null : this.shortPrefix,
noOptionsAfterPositional: noOptionsAfterPositional,
disableOptionsAfter:
disableOptionsAfter ? null : this.disableOptionsAfter,
inverseGenerator: inverseGenerator ? null : this.inverseGenerator);