PMU_PIbd32_Kamcharova_K.A/lib/bloc/events.dart

18 lines
343 B
Dart
Raw Normal View History

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];
}