How to show error messages or do success action while using Flutter Bloc during deletion?
I have one bloc, example PostsBloc that exposes one event LoadData and one event DeleteData and emits state of type LoadableBlocState<Post> (class code below) This bloc is using a repository which calls http endpoints to achieve this. If the delete…