refresh method Null safety

  1. @protected
void refresh()

Implementation

@protected
void refresh() {
  assert(_debugAssertNotDisposed());

  /// This debounce the call to update.
  /// It prevent errors and duplicates builds
  // if (_microtask == _version) {
  //   _microtask++;
  //   scheduleMicrotask(() {
  //     _version++;
  //     _microtask = _version;
  _notifyUpdate();
  // });
  // }
}