onNotify method

void onNotify([
  1. VoidCallback? callback
])

Implementation

void onNotify([VoidCallback? callback]) {
  if (_notifier != null) {
    _notifier?.call(callback ?? () {});
  }
}