hooks property

Hooks this plugin listens on.

Declared the way widgets and actions are, so a plugin that wants to hear about failures says so instead of reaching for the manager: the registration happens when the plugin loads and is undone when it unloads. A host that has no plugin can still register directly on PluginHookManager.

Implementation

Map<PluginHookType, PluginHookCallback>? get hooks => null;