RegisteredCommand class

A registered command, with its owner app and registration metadata.

The registry stores RegisteredCommands rather than bare StandardCommands so callers can introspect ownership without losing track of which app owns which command.

Annotations

Constructors

RegisteredCommand({required StandardCommand command, required String ownerApp, required String version})
const

Properties

command → StandardCommand
The command definition.
final
hashCode → int
The hash code for this object.
no setterinherited
key → RegistryKey
The key the registry uses to look up this command.
no setter
ownerApp → String
The owning app's name (e.g. 'zuraffa', 'zikzak').
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
version → String
The version of the command definition, for cross-app sharing (FR-006). Defaults to '0.1.0' for commands that are not explicitly shared.
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