18 lines
343 B
Dart
18 lines
343 B
Dart
import 'package:equatable/equatable.dart';
|
|
|
|
abstract class HomeEvent extends Equatable {
|
|
const HomeEvent();
|
|
|
|
@override
|
|
List<Object?> get props => [];
|
|
}
|
|
|
|
class HomeLoadDataEvent extends HomeEvent {
|
|
final String searchQuery;
|
|
|
|
const HomeLoadDataEvent({this.searchQuery = ''});
|
|
|
|
@override
|
|
List<Object?> get props => [searchQuery];
|
|
}
|