part of 'plot_detail_bloc.dart'; abstract class PlotDetailEvent { const PlotDetailEvent(); @override List get props => []; } class DataFetched extends PlotDetailEvent { final int cropId; final String cropCode; DataFetched({this.cropId, this.cropCode}); } class OnRefresh extends PlotDetailEvent { final int cropId; final String cropCode; OnRefresh({this.cropId, this.cropCode}); } class OnUpdate extends PlotDetailEvent { final List currentItems; final int currentPage; final bool hasReachedMax; OnUpdate( {@required this.currentItems, @required this.currentPage, @required this.hasReachedMax}); }