ShellStreamResult class

Outcome of a streaming session, delivered through ShellStreamHandle.done.

Constructors

ShellStreamResult({required String reason, required int exitCode, required String stderr, required int stderrLineCount, required int linesEmitted})
const

Properties

exitCode int
Exit code of the adb process. Negative when the process was killed (which is the normal outcome of ShellStreamHandle.stop).
final
hashCode int
The hash code for this object.
no setterinherited
linesEmitted int
Number of stdout lines delivered to ShellStreamHandle.lines. 0 means the command produced nothing — look at stderr for the reason.
final
producedOutput bool
Whether the command produced any output at all.
no setter
reason String
Human readable reason the session ended, e.g. stop() called or adb exited with code 1.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stderr String
The last _kStderrTailLines stderr lines, joined by newlines. See stderrLineCount for how many there were in total.
final
stderrLineCount int
Total number of stderr lines produced, including the ones dropped from stderr. A steadily growing count is normal for a /proc sweep.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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