flush method

void flush()

Implementation

void flush() {
  preFlush?.call();
  notifyListeners();
  postFlush?.call();
}