equals method

  1. @override
bool equals(
  1. covariant BloomState<T> other, [
  2. bool equals(
    1. T previous,
    2. T next
    )?
])
inherited

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 true if 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);