FunctionDeepNavigationStrategy<T> class

Will use the evaluationFunction passed in the constructor to evaluate the acceptance of the sub navigation.

Implemented types

Constructors

FunctionDeepNavigationStrategy(bool evaluationFunction<T>(T, DeepNavigationNode<T>?))
const

Properties

evaluationFunction bool Function<T>(T, DeepNavigationNode<T>?)
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shouldAcceptNavigation(T subNavigation, DeepNavigationNode<T>? root) bool
Checks whether the given subNavigation should accepted into the root. If root is null, that means that it's at the base layer.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited