withLifecycle method
Attaches this shortcut manager to a RaiiLifecycleAware object.
Implementation
ShortcutManager withLifecycle(
RaiiLifecycleAware lifecycleAware, {
String? debugLabel,
}) {
RaiiDisposeable.withLifecycle(
lifecycleAware,
dispose: dispose,
debugLabel: debugLabel,
);
return this;
}