createInstance method
Bare instance.
Implementation
@override
CStateMachine<T> createInstance(T app) {
final c = CStateMachine<T>(app);
c._states = .from(_states);
c._transitions = .from(_transitions);
c._current = _current;
c._timeInState = _timeInState;
c._started = _started;
c._entered = _entered;
return c;
}