ArgsSimple class
Methods
-
addArgument(String value)
→ void
-
-
addFlag(String key)
→ void
-
-
argument<T>(int index, [T? def, TypeElementParser? parser])
→ T?
-
-
argumentAsBool(int index, [bool? def])
→ bool?
-
-
argumentAsDouble(int index, [double? def])
→ double?
-
-
argumentAsInt(int index, [int? def])
→ int?
-
-
argumentAsList(int index, [List? def])
→ List?
-
-
argumentAsMap(int index, [Map? def])
→ Map?
-
-
argumentAsSet(int index, [Set? def])
→ Set?
-
-
argumentAsString(int index, [String? def])
→ String?
-
-
argumentMatches(int index, Pattern pattern)
→ bool
-
-
flag<T>(String key)
→ bool
-
-
flagOr<T>(String key, bool? def)
→ bool?
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
option<T>(String key, [T? def, TypeElementParser? parser])
→ T?
-
-
optionAsBool(String key, [bool? def])
→ bool?
-
-
optionAsDouble(String key, [double? def])
→ double?
-
-
optionAsInt(String key, [int? def])
→ int?
-
-
optionAsList(String key, [List? def])
→ List?
-
-
optionAsMap(String key, [Map? def])
→ Map?
-
-
optionAsSet(String key, [Set? def])
→ Set?
-
-
optionAsString(String key, [String? def])
→ String?
-
-
optionMatches(String key, Pattern pattern)
→ bool
-
-
property<T>(String key, [T? def, TypeElementParser? parser])
→ T?
-
-
propertyAsBool(String key, [bool? def])
→ bool?
-
-
propertyAsDouble(String key, [double? def])
→ double?
-
-
propertyAsInt(String key, [int? def])
→ int?
-
-
propertyAsList(String key, [List? def])
→ List?
-
-
propertyAsMap(String key, [Map? def])
→ Map?
-
-
propertyAsSet(String key, [Set? def])
→ Set?
-
-
propertyAsString(String key, [String? def])
→ String?
-
-
propertyMatches(String key, Pattern pattern)
→ bool
-
-
putOption(String key, Object value)
→ void
-
-
putProperty(String key, Object value)
→ void
-
-
toJson()
→ Map<String, Object>
-
-
toList()
→ List<String>
-
-
toString()
→ String
-
A string representation of this object.
override