The flutter_bloc library was upgraded from 7.2.1 to 8.1.1 and bloc library was upgraded from 7.2.1 to 8.1.0.
In bloc v7.2.0, mapEventToState was deprecated in favor of on<Event>. mapEventToState was removed in bloc v8.0.0. So, the mapEventToState have been changed to on<Event>
The flutter_bloc library was upgraded from 7.2.1 to 8.1.1 and bloc library was upgraded from 7.2.1 to 8.1.0.
In bloc v7.2.0,
mapEventToState
was deprecated in favor ofon<Event>
.mapEventToState
was removed in bloc v8.0.0. So, themapEventToState
have been changed toon<Event>
Please review it.