TerminalExitStatus class

Represents how a terminal exited.

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

TerminalExitStatus({num? code, TerminalExitReason? reason})
factory

Properties

code num?

Available on TerminalExitStatus, provided by the TerminalExitStatus$Typings extension

The exit code that a terminal exited with, it can have the following values:
no setter
hashCode int
The hash code for this object.
no setterinherited
reason TerminalExitReason

Available on TerminalExitStatus, provided by the TerminalExitStatus$Typings extension

The reason that triggered the exit of a terminal.
no setter
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
toString() String
A string representation of this object.
inherited

Operators

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