I just wonder if wrapping dispatch and events in a function inside the bloc is it a good practice or not?
So instead of using bloc.distpatch(LoginEvent()) I could just use bloc.login()

I will be interresed to know if it a good practice beacause i do that too.
@MichelMelhem I saw it in Reso Coder channel on youtube
Hey @amreniouinnovent 馃憢
Thanks for opening an issue!
Regarding your question, it comes down to personal preference. If you like to have helper functions that wrap dispatch that鈥檚 totally fine 馃槃
Most helpful comment
Hey @amreniouinnovent 馃憢
Thanks for opening an issue!
Regarding your question, it comes down to personal preference. If you like to have helper functions that wrap dispatch that鈥檚 totally fine 馃槃