CommandResult class

Available extensions
Annotations
  • @JsonSerializable()

Constructors

CommandResult({required int exitCode, required String output, required String error})
const
CommandResult.fromJson(Map json)
factory
CommandResult.unknown()
const

Properties

error String
final
exitCode int
final
exitCodeReason ExitCode
no setter
hashCode int
The hash code for this object.
no setterinherited
output String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
printError(CommandToRun command, Logger logger) → void

Available on CommandResult, provided by the CommandResultX extension

toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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