StatusResult class
Result of a getStatus invocation.
Always produced (no errors, no exceptions). The CLI adapter translates the fields into the standard RUNNING=/PID=/VM_SERVICE_URI= output tokens.
- Inheritance
-
- Object
- CommandResult
- StatusResult
Constructors
- StatusResult({required bool running, int? pid, String? vmServiceUri})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- pid → int?
-
Non-null only when the PID file exists and the process is alive.
final
- running → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- vmServiceUri → String?
-
Non-null only when running is true and a VM service URI is recorded.
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