handleDetachedState method

  1. @visibleForOverriding
bool handleDetachedState()

Return true to have the service dispose when the app enters AppLifecycleState.detached. Defaults to false (opt-in).

Implementation

@visibleForOverriding
bool handleDetachedState() => false;