undo method

void undo()

Implementation

void undo() {
  state = CardSwiperState.undo;
  notifyListeners();
}