wantsKeepAlive method

bool wantsKeepAlive(
  1. NavigationBranchId id
)

The keep-alive preference for id. Defaults to true for the anonymous default branch and unknown ids.

Implementation

bool wantsKeepAlive(NavigationBranchId id) =>
    _branchMetadata[id]?.wantsKeepAlive ?? true;