NavigationItem constructor

NavigationItem(
  1. String routeName,
  2. Object? arguments,
  3. ResultConsumer resultConsumer
)

Takes routeName, arguments, and resultConsumer which are responsible for navigation from the StateNotifier and getting result directly to it.

Implementation

NavigationItem(
  this.routeName,
  this.arguments,
  this.resultConsumer,
);