dispose method

  1. @mustCallSuper
void dispose()

Called when the entry is no longer needed.

Call this will remove all shortcuts associated with this ShortcutRegistryEntry from the registry.

Implementation

@mustCallSuper
void dispose() {
  registry._disposeEntry(this);
}