printHistory method

void printHistory()

Prints the history to the console. Uses implementation of RefenaDebugObserver.

Implementation

void printHistory() {
  final tempObserver = RefenaDebugObserver();
  for (final event in history) {
    tempObserver.handleEvent(event);
  }
}