part of 'location_bloc.dart'; abstract class LocationEvent extends Equatable { const LocationEvent(); @override List get props => []; } class DataFetched extends LocationEvent { final LocationType locationType; final int selectedId; final int filterId; DataFetched({@required this.locationType, this.selectedId, this.filterId}); } class OnRefresh extends LocationEvent { final LocationType locationType; final int selectedId; final int filterId; OnRefresh({@required this.locationType, this.selectedId, this.filterId}); } class OnSearch extends LocationEvent { final LocationType locationType; final String searchString; final int selectedId; final int filterId; OnSearch( {@required this.locationType, this.searchString, this.selectedId, this.filterId}); }