dispose method

  1. @mustCallSuper
void dispose()

Implementation

@mustCallSuper
void dispose() {
  assert(_debugAssertNotDisposed());
  _updatersGroupIds?.forEach(
    (Object? key, ListNotifierSingleMixin value) => value.dispose(),
  );
  _updatersGroupIds = null;
}