CatResult class Null safety
Constructors
Properties
- exitCode ↔ int
-
The exit code.
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- isFailure → bool
-
Returns
true
if the exitCode is exitFailure.read-only - isSuccess → bool
-
Returns
true
if the exitCode is exitSuccess.read-only -
messages
→ List<
String> -
The error messages.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
addMessage(
int exitCode, String message, {String? path}) → void - Add a message with an optional path.
-
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