refresh method

void refresh()

Triggers notifyListeners after a zero-duration delay.

Implementation

void refresh() {
  Future.delayed(Duration.zero, notifyListeners);
}