shouldAcceptNavigation abstract method

bool shouldAcceptNavigation(
  1. T subNavigation,
  2. DeepNavigationNode<T>? root
)

Checks whether the given subNavigation should accepted into the root. If root is null, that means that it's at the base layer.

Implementation

bool shouldAcceptNavigation(T subNavigation, DeepNavigationNode<T>? root);