peekHistory method

Step? peekHistory()

Implementation

Step? peekHistory() {
  if (history.isEmpty) {
    return null;
  }
  return history.last;
}