nextHistory method

void nextHistory()

Implementation

void nextHistory() {
  if (state.canNext) {
    state = state.copyWith(
      currentHistoryIndex: state.currentHistoryIndex - 1,
    );
  }
}