BlocStateGraph<Event, State> constructor

const BlocStateGraph<Event, State>({
  1. required Map<Type, Map<Type, StateTransitionCaller<Event, State>>> graph,
  2. Map<Type, StateTransitionCaller<Event, State>> unrestrictedGraph = const {},
})

Implementation

const BlocStateGraph({
  required this.graph,
  this.unrestrictedGraph = const {},
});