ProjectBrowserSessionOutcome class final

The result of one attach or detach.

Constructors

ProjectBrowserSessionOutcome({required bool ok, required Uri? url, ProjectSessionOwnership? ownership, String? error, String? detail, int? exitCode, String stderr = '', bool retainedLastKnownGood = false, int? pid})
Describes one result.
const

Properties

detail → String?
The detail of the named failure.
final
error → String?
The named failure, when the request failed.
final
exitCode → int?
The exit code of a serve process that ended before it was ready.
final
hashCode → int
The hash code for this object.
no setterinherited
ok → bool
Whether the session reached the requested state.
final
ownership → ProjectSessionOwnership?
Who owns the process behind the target.
final
pid → int?
The pid of the process this session spawned.
final
retainedLastKnownGood → bool
Whether the last known good target was kept after a failure.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stderr → String
The tail of the serve process' standard error.
final
url → Uri?
The URL a browser window navigates to.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
The evidence projection of this result.
toString() → String
A string representation of this object.
inherited

Operators

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