PIbd-31_IevlewaMD_PMD/lib/home_page/bloc/events.dart

18 lines
371 B
Dart
Raw Normal View History

2024-11-26 01:44:56 +04:00
import 'package:equatable/equatable.dart';
abstract class HomeEvent extends Equatable {
const HomeEvent();
@override
List<Object?> get props => [];
}
class HomeLoadDataEvent extends HomeEvent {
final String? search;
final int? nextPage;
const HomeLoadDataEvent({this.search, this.nextPage});
@override
List<Object?> get props => [search, nextPage];
}