ArgumentSet.unmodifiable constructor

ArgumentSet.unmodifiable(
  1. ArgumentSet other
)

Implementation

ArgumentSet.unmodifiable(ArgumentSet other)
    : positional = List.unmodifiable(other.positional),
      options = Map.unmodifiable(other.options),
      shortToLong = Map.unmodifiable(other.shortToLong),
      commands = Map.unmodifiable(other.commands),
      _commandSet = other.commandSet,
      _mutable = false;