equals property
A Function to use check whether the value of an observable has changed.
Must be a top-level or static Function that takes two arguments and
returns a bool.
The arguments are the old value and the new value of the observable.
If the function returns true
, a reaction will be triggered.
If the function returns false
, no reaction will be triggered.
If no function is provided, the default behavior is to only trigger if
: oldValue != newValue
.
Implementation
final Function? equals;