ArgumentsParser class
Constructors
- ArgumentsParser()
-
factory
Properties
-
flags
→ Map<
String, dynamic> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
multiOptions
→ Map<
String, dynamic> -
no setter
-
options
→ Map<
String, dynamic> -
no setter
- parser → ArgParser
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addFlags(
Map< String, ArgFlagModel> flags) → void -
addForceFlag(
{String? help, bool? defaultsTo = false, bool negatable = true, void callback(bool)?, bool hide = false, List< String> aliases = const []}) → void -
addMultiOptions(
Map< String, ArgMultiOptionModel> multiOptions) → void -
addOptions(
Map< String, ArgOptionModel> options) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parse(
List< String> args) → Future<Map< String, dynamic> > -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited