Args class

Constructors

Args({Map<String, dynamic>? args, List<String>? rest, List<String>? path, Map<String, dynamic>? abbr})
const
Args.parse(List<String> args)
factory

Properties

abbrs Map<String, dynamic>
no setter
flags Map<String, bool>
no setter
hashCode int
The hash code for this object.
no setterinherited
isEmpty bool
no setter
isNotEmpty bool
no setter
keys List<String>
no setter
original List<String>
no setter
path List<String>
no setter
rawArgs List<String>
no setter
rest List<String>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
values Map<String, dynamic>
no setter

Methods

get<T extends Object>(String key, {List<String> aliases = const [], String? abbr, T? defaultValue}) → T
getOrNull<T extends Object>(String key, {List<String>? aliases, String? abbr, T? defaultValue}) → T?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
wasParsed(String key, {List<String>? aliases, String? abbr}) bool

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](String key) Object?