What is mapEventToState?

In the current version, mapEventToState returns a Stream which lends itself to relying on async generators (async*) in order to react to events and emit states . The new on<Event> API introduced in v7. 2.0 makes it easier and safer to implement complex state changes while eliminating uncertainty.

Sizin İçin Seçtik  How does a Flutter bloc work?

Leave a Reply

Your email address will not be published. Required fields are marked *