CatResult class Null safety

Holds the cat result exitCode and error messages.

Constructors

CatResult()

Properties

exitCode int
The exit code.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
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.
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