updateShouldNotify method

  1. @protected
bool updateShouldNotify(
  1. bool old,
  2. bool current
)
inherited

Whether to notify listeners or not when state changes

Implementation

@protected
bool updateShouldNotify(
  T old,
  T current,
) =>
    !identical(old, current);