CommandResult class abstract

Marker base type for all command result sealed hierarchies.

Each command in lib/core/commands/<name>.dart declares its own sealed result hierarchy as a subtype of CommandResult. CLI / MCP / REST adapters pattern-match exhaustively over each command's specific result type to produce their interface-specific output (e.g., the CLI adapter translates results into UPPER_SNAKE_CASE stdout tokens).

This base type carries no fields; it exists purely to document the convention and enable shared helpers (e.g., a generic adapter wrapper that knows nothing about specific command results but logs them).

Implementers

Constructors

CommandResult()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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