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
- BackResult
- CleanResult
- CrashReportResult
- DeeplinkResult
- DescribeResult
- DevicesResult
- DoctorResult
- DoubleTapResult
- ExtResult
- GcResult
- GrantPermissionResult
- InputResult
- KillResult
- LaunchResult
- LogsResult
- LongpressResult
- MemDiffResult
- MemProfileResult
- MemResult
- NativeTapResult
- ReloadResult
- RestartResult
- ScreenshotResult
- ScrollResult
- ScrollToResult
- SelectedResult
- SelectResult
- SharedPrefsResult
- SimAppearanceResult
- SimDefaultsResult
- SimLocationResult
- SimPushResult
- SimStatusBarResult
- SimTextSizeResult
- SkillResult
- StatusResult
- SwipeResult
- SyslogResult
- TapResult
- TreeResult
- WaitResult
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