PeekResult class

A captured session screen, decoded to text for display.

Constructors

PeekResult({required bool ok, required String message, required String text, required bool altScreen})
Creates a peek result.
const

Properties

altScreen bool
Whether the capture ends inside a full-screen (alt-screen) program.
final
hashCode int
The hash code for this object.
no setterinherited
message String
A human-readable message on failure.
final
ok bool
Whether the capture succeeded.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
The screen content decoded as UTF-8 (may contain ANSI escapes).
final

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