ExitStatus enum
Exit status codes for the command line application.
Constructors
- ExitStatus.fromCode(int code)
-
Create an ExitStatus from the given
code
.factory
Values
- success → const ExitStatus
-
The command was successful.
const ExitStatus._(0)
- usage → const ExitStatus
-
The command was used incorrectly.
const ExitStatus._(64)
- error → const ExitStatus
-
The command failed.
const ExitStatus._(1)
Properties
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
Constants
-
values
→ const List<
ExitStatus> - A constant List of the values in this enum, in order of their declaration.