severity: WARNING
Avoid public methods on Bloc
classes.
❌ BAD:
class MyBloc extends Bloc<int, int> {
MyBloc(super.initialState);
void test() {}
}
✅ GOOD:
class MyBloc extends Bloc<int, int> {
MyBloc(super.initialState);
void _test() {}
}