CatResult class

Holds the cat result exitCode and errors.

Constructors

CatResult()

Properties

errors List<CatError>
The list of errors.
final
exitCode int
The exit status code.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isFailure bool
Returns true if the exitCode is exitFailure.
no setter
isSuccess bool
Returns true if the exitCode is exitSuccess.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addError(String message, {String? path}) → void
Adds an error message and path.
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