refactor: ignore public_member_api_docs for cubits

pull/234/head
alestiago 3 years ago
parent e6052fed7e
commit d91bb9c6c4

@ -1,20 +1,16 @@
// ignore_for_file: public_member_api_docs
import 'package:bloc/bloc.dart';
part 'alien_bumper_state.dart';
// TODO(alestiago): Evaluate if there is any useful documentation that could
// be added to this class.
// ignore: public_member_api_docs
class AlienBumperCubit extends Cubit<AlienBumperState> {
// ignore: public_member_api_docs
AlienBumperCubit() : super(AlienBumperState.active);
/// Event added when the bumper contacts with a ball.
void onBallContacted() {
emit(AlienBumperState.inactive);
}
/// Event added when the bumper finishes blinking.
void onBlinked() {
emit(AlienBumperState.active);
}

@ -1,20 +1,16 @@
// ignore_for_file: public_member_api_docs
import 'package:bloc/bloc.dart';
part 'google_letter_state.dart';
// TODO(alestiago): Evaluate if there is any useful documentation that could
// be added to this class.
// ignore: public_member_api_docs
class GoogleLetterCubit extends Cubit<GoogleLetterState> {
// ignore: public_member_api_docs
GoogleLetterCubit() : super(GoogleLetterState.inactive);
/// Event added when the letter contacts with a ball.
void onBallContacted() {
emit(GoogleLetterState.active);
}
/// Event added when the letter should return to its initial configuration.
void onReset() {
emit(GoogleLetterState.inactive);
}

@ -1,20 +1,16 @@
// ignore_for_file: public_member_api_docs
import 'package:bloc/bloc.dart';
part 'sparky_bumper_state.dart';
// TODO(alestiago): Evaluate if there is any useful documentation that could
// be added to this class.
// ignore: public_member_api_docs
class SparkyBumperCubit extends Cubit<SparkyBumperState> {
// ignore: public_member_api_docs
SparkyBumperCubit() : super(SparkyBumperState.active);
/// Event added when the bumper contacts with a ball.
void onBallContacted() {
emit(SparkyBumperState.inactive);
}
/// Event added when the bumper finishes blinking.
void onBlinked() {
emit(SparkyBumperState.active);
}

Loading…
Cancel
Save