PluginRegistryServiceImpl class

Implemented types

Constructors

PluginRegistryServiceImpl({String? pluginsFilePath})

Properties

hashCode int
The hash code for this object.
no setterinherited
plugins List<PluginConfig>
Currently cached plugins. Empty until load completes.
no setteroverride
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.
override
load() Future<List<PluginConfig>>
Reads and parses the config file, creating a default one if missing.
override
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.
override
pluginsForDevice(Device? device) List<PluginConfig>
Plugins that expose at least one command runnable for device.
override
reload() Future<List<PluginConfig>>
Re-reads the config file from disk, refreshing the cache.
override
toString() String
A string representation of this object.
inherited

Operators

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