LocationBloc constructor
LocationBloc({
- required LocationRepository locationRepository,
Implementation
LocationBloc({
required this.locationRepository,
}) : super(LocationState()) {
on<GetLocation>(_getLocationEvent);
}