RPPredicateStepNavigationRule class Null safety

A navigation rule which based on predicate(s)'s (RPResultPredicate) result(s).

By using RPPredicateStepNavigationRule different questions can be shown based on the result of previously answered questions. The RPPredicateStepNavigationRule checks the predicate RPResultPredicate and if it's true, puts the destination step as next in the sequence. (Destination step identifiers are declared in the resultPredicatesWithDestinationIdentifiers)

Inheritance

Constructors

RPPredicateStepNavigationRule({required Map<RPResultPredicate, String> resultPredicatesWithDestinationIdentifiers, String? defaultStepIdentifier})

Properties

defaultStepIdentifier String?
final
hashCode int
The hash code for this object. [...]
read-only, inherited
resultPredicatesWithDestinationIdentifiers Map<RPResultPredicate, String>
A dictionary of result predicates and their associated destination step identifiers. If the predicate proves to be true, the destination identifier's step will be pushed as next in the step sequence. A navigation rule can have multiple result predicates and based on these different predicates the task jumps to different destination steps.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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