ReplayBloc function onTransition() handles event _Undo instead of user defined event #4028
Labels
bug
Something isn't working
question
Further information is requested
waiting for response
Waiting for follow up
Description
While trying out the class
ReplayBloc
I encountered a problem when using the methodonTransition
. Instead of handling the user defined eventRewind
, an internal event_Undo
is handled. (The handler ofRewind
callsundo()
, see function_rewind()
below.)Steps To Reproduce
Expected Behavior
Actual Behavior
Additional Context
The fact that
_Undo
is private makes it more difficult to filter events inonTransition
.The text was updated successfully, but these errors were encountered: