equals property
final
Custom equality function to determine if value has changed.
If provided, this function is called instead of == operator.
Return true if values should be considered equal (no notification).
NeuronAtom<User>(
user,
equals: (a, b) => a.id == b.id,
)
Implementation
final bool Function(T a, T b)? equals;