updateShouldNotify method

  1. @override
bool updateShouldNotify(
  1. AsyncValue<T> previous,
  2. AsyncValue<T> next
)
inherited

Called when a provider is rebuilt. Used for providers to not notify their listeners if the exposed value did not change.

Implementation

@override
bool updateShouldNotify(AsyncValue<T> previous, AsyncValue<T> next) {
  return FutureHandlerProviderElementMixin.handleUpdateShouldNotify(
    previous,
    next,
  );
}