notify method

Observer<T> notify([
  1. VoidCallback? callback
])

Implementation

Observer<T> notify([VoidCallback? callback]) {
  if (callback != null) callback();
  notifyListeners();
  return this;
}