CubitEntity constructor
const
CubitEntity({
- required ID id,
- required String name,
- required ID initialState,
- required Map<
ID, CubitStateEntity> states, - required Map<
ID, WorkflowEntity> workflows, - ID? currentState,
- List<
CubitStateEntity> stateHistory = const [],
Implementation
const CubitEntity({
required this.id,
required this.name,
required this.initialState,
required this.states,
required this.workflows,
this.currentState,
this.stateHistory = const [],
});