dynamic initStateHandler( )

Source

initStateHandler() {
  history$.listen((c) {
    history.add(c);
    apply();
  });
}