notify method

void notify([
  1. Function? notifier
])

Implementation

void notify([Function? notifier]) {
  if (notifier != null) {
    notifier();
  }
  notifyListeners();
}