Arguments class

Constructors

Arguments({required bool showVersion, required bool showHelp, required bool isVerbose})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
isVerbose → bool
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showHelp → bool
final
showVersion → bool
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

getMultipleOptionOrNull(ArgResults results, {required String option}) → dynamic
getMultipleOptionOrThrow(ArgResults results, {required String option, String? errorMessage}) → dynamic
getOptionOrNull(ArgResults results, {required String option}) → dynamic
getOptionOrThrow(ArgResults results, {required String option, String? errorMessage}) → dynamic
getUsage(dynamic commands) → dynamic
parse(List<String> arguments, List<Command> commands) → Arguments