JStateRecorder<T extends JState> constructor

JStateRecorder<T extends JState>(
  1. JController<T> controller
)

Implementation

JStateRecorder(JController<T> controller) {
  _removeListener = controller.addListener(
    _states.add,
    fireImmediately: false,
  );
}