updateShouldNotify method

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

Whether to notify listeners or not when state changes

Implementation

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