PluginRegistryService class abstract

Loads and queries user-defined plugins from the plugins: section of ~/.simutil/settings.yaml.

Plugins are shell commands grouped under a plugin identity. The registry caches parsed PluginConfigs in memory after load.

Implementers

Constructors

PluginRegistryService()

Properties

hashCode int
The hash code for this object.
no setterinherited
plugins List<PluginConfig>
Currently cached plugins. Empty until load completes.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

commandByShortcut(String shortcut, Device? device) PluginCommandRef?
Resolves a command bound to a command-level shortcut key.
load() Future<List<PluginConfig>>
Reads and parses the config file, creating a default one if missing.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pluginByShortcut(String shortcut, Device? device) PluginConfig?
Resolves a plugin bound to a plugin-level shortcut key.
pluginsForDevice(Device? device) List<PluginConfig>
Plugins that expose at least one command runnable for device.
reload() Future<List<PluginConfig>>
Re-reads the config file from disk, refreshing the cache.
toString() String
A string representation of this object.
inherited

Operators

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