ErrorCommand class

Inheritance

Constructors

ErrorCommand(String error)

Properties

acceptedFlags → List<String>
no setterinherited
alias → List<String>
no setterinherited
args ↔ List<String>
all arguments
getter/setter pairinherited
childrens → List<Command>
childrens command
no setterinherited
codeSample → String
no setteroverride
commandName → String
no setteroverride
error ↔ String
getter/setter pair
flags ↔ List<String>
all flags
getter/setter pairinherited
fromArgument → String
return parameter from
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
hint → String
hint for command line
no setteroverride
maxParameters → int
no setteroverride
name → String
return parameter name
no setterinherited
onCommand → String
return parameter on
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
withArgument → String
return parameter with
no setterinherited

Methods

containsArg(String flag) → bool
return true if conatains flags
inherited
execute() → Future<void>
execute command
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
validate() → bool
validate command line arguments
override

Operators

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