stateEqualityCheck method
Custom equality check for async states.
Compares the data fields of two async states to determine if they are equal. Override this method to provide custom equality logic.
curr
is the current state.
next
is the new state.
Returns true if the states are considered equal, false otherwise.
Implementation
@override
@protected
bool stateEqualityCheck(BaseAsyncState<S> curr, BaseAsyncState<S> next) =>
curr == next;