equals method
Determines if this state is equivalent to other using an optional custom equals comparator.
other: The secondary state contract entity to compare against.- equals: Optional custom equality comparison callback.
Ensures:
- Returns
trueif both entities hold equivalent validity states and payloads.
Implementation
@override
@pragma('vm:prefer-inline')
bool equals(covariant BloomState<T> other, [bool Function(T previous, T next)? equals]) =>
_read().equals(other, equals);