whenLifecycleDestroy method

Future<Cancellable> whenLifecycleDestroy({
  1. Cancellable? cancellable,
})

Implementation

Future<Cancellable> whenLifecycleDestroy({Cancellable? cancellable}) =>
    launchWhenLifecycleEventDestroy(
        cancellable: cancellable, block: (c) => c);