// import 'package:flutter_bloc/flutter_bloc.dart';

// // Event untuk pilihan yang diubah
// abstract class SelectedOptionMonitorAbsen {}

// class UpdateSelectedMonitorAbsen extends SelectedOptionMonitorAbsen {
//   final String option;
//   UpdateSelectedMonitorAbsen(this.option);
// }

// // State untuk pilihan yang dipilih
// class SelectedOptionMonitorAbsenState {
//   final String selectedOption;
//   SelectedOptionMonitorAbsenState(this.selectedOption);
// }

// class SelectedOptionMonitorAbsenBloc extends Bloc<
//     SelectedOptionMonitorAbsen, SelectedOptionMonitorAbsenState> {
//   SelectedOptionMonitorAbsenBloc()
//       : super(SelectedOptionMonitorAbsenState(''));

//   @override
//   Stream<SelectedOptionMonitorAbsenState> mapEventToState(
//       SelectedOptionMonitorAbsen event) async* {
//     if (event is UpdateSelectedMonitorAbsen) {
//       yield SelectedOptionMonitorAbsenState(event.option);
//     }
//   }
// }
