18 lines
371 B
Dart
18 lines
371 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? search;
|
|
final int? nextPage;
|
|
|
|
const HomeLoadDataEvent({this.search, this.nextPage});
|
|
|
|
@override
|
|
List<Object?> get props => [search, nextPage];
|
|
} |