RestorationManagerRaiiExt extension

Extension for managing RestorationManager lifecycle.

Example:

final restorationManager = RestorationManager()
  .withLifecycle(this, debugLabel: 'RestorationManager');
on

Methods

withLifecycle(RaiiLifecycleAware lifecycleAware, {String? debugLabel}) RestorationManager

Available on RestorationManager, provided by the RestorationManagerRaiiExt extension

Attaches this restoration manager to a RaiiLifecycleAware object for automatic disposal.