You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
428B

  1. part of 'supply_bloc.dart';
  2. abstract class SupplyEvent extends Equatable {
  3. const SupplyEvent();
  4. @override
  5. List<Object> get props => [];
  6. }
  7. class DataFetched extends SupplyEvent {
  8. final int selectedId;
  9. final String type;
  10. DataFetched({this.selectedId, @required this.type});
  11. }
  12. class OnRefresh extends SupplyEvent {
  13. final int selectedId;
  14. final String type;
  15. OnRefresh({this.selectedId, @required this.type});
  16. }