DetachOutcome class

The result of RemoteSession.detach: the detached session's identifiers and optional expiry, used to print the resume hint.

Constructors

DetachOutcome({required String sessionId, required String shortId, DateTime? expiresAt})
Creates a detach outcome.
const

Properties

expiresAt DateTime?
When the session expires, or null for indefinite.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionId String
The full session id.
final
shortId String
The short, display-only handle used to resume/kill the session.
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