Parser class Null safety

Annotation to define SmartArg wide properties.

Constructors

Parser({String? description, List<ExtendedHelp>? extendedHelp, int? minimumExtras, int? maximumExtras, bool exitOnFailure = true, bool strict = false, String? argumentTerminator = '--', bool allowTrailingArguments = true})
const

Properties

allowTrailingArguments bool
Allow trailing argument?
final
argumentTerminator String?
If argumentTerminator is parsed, the rest of the arguments are considered extras.
final
description String?
Application description that is displayed in the help output.
final
exitOnFailure bool
Exit the application with an exit code of 1 if there are argument parsing errors.
final
extendedHelp List<ExtendedHelp>?
Additional text to be displayed at the bottom of the help output.
final
hashCode int
The hash code for this object.
read-onlyinherited
maximumExtras int?
Maximum number of extras that are allowed for your application.
final
minimumExtras int?
Minimum number of extras that are required for your application.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
strict bool
If true, do not add any long parameters from the class properties.
final

Methods

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

Operators

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