NavigationMachine<S, E, T> constructor

NavigationMachine<S, E, T>({
  1. required String name,
  2. required S initialStateId,
  3. required StateMap<S, E, T> states,
  4. required TransitionMap<T, S> transitions,
  5. List<E> events = const [],
  6. dynamic data,
  7. bool? strict,
})

Implementation

NavigationMachine({
  required super.name,
  required super.initialStateId,
  required super.states,
  required super.transitions,
  super.events = const [],
  // history is disabled for now. It's usefulness is to be justified in
  // navigation context then need to be prototyped. Also see assert in
  // HismaRouterDelegate constructor.
  // super.history,
  super.data,
  super.strict,
});