import 'package:equatable/equatable.dart'; abstract class HomeEvent extends Equatable { const HomeEvent(); @override List get props => []; } class HomeLoadDataEvent extends HomeEvent { final String searchQuery; const HomeLoadDataEvent({this.searchQuery = ''}); @override List get props => [searchQuery]; } class HomeSearchEvent extends HomeEvent { final String query; const HomeSearchEvent(this.query); @override List get props => [query]; }