AnyArgResults class
Constructors
- AnyArgResults(ArgResults _argResults)
Properties
-
arguments
→ List<
String> -
The original arguments that were parsed.
no setter
- command → ArgResults?
-
The command that was selected, or
null
if none was.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- name → String?
-
The name of the command for which these options are parsed, or
null
if these are the top-level results.no setter -
options
→ Iterable<
String> -
The names of the available options.
no setter
-
rest
→ List<
String> -
The remaining command-line arguments that were not parsed as options or
flags.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addAllRest(
Iterable< String> rest) → void -
addRest(
String rest) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
wasParsed(
String name) → bool -
Returns
true
if the option withname
was parsed from an actual argument.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
String name) → dynamic -
Returns the parsed ore default command-line option named
name
.