$use method
The $use
method is a sugar syntax for the useBloc
.
Implementation
@protected
S $use() => useBloc<B, S>(bloc: bloc, onEmitted: onStateEmitted);
The $use
method is a sugar syntax for the useBloc
.
@protected
S $use() => useBloc<B, S>(bloc: bloc, onEmitted: onStateEmitted);