Business Login Flutter Apps
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.
 
 
 

25 lines
531 B

  1. part of 'list_unit_bloc.dart';
  2. abstract class ListUnitState extends Equatable {
  3. const ListUnitState();
  4. @override
  5. List<Object> get props => [];
  6. }
  7. class ListUnitInitial extends ListUnitState {}
  8. class ListUnitLoading extends ListUnitState {}
  9. class ListUnitFinish extends ListUnitState {
  10. const ListUnitFinish ({required this.units,required this.blobs});
  11. final List<Unit> units;
  12. final List<Blob?> blobs;
  13. }
  14. class ListUnitError extends ListUnitState {
  15. const ListUnitError ({required this.err});
  16. final String err;
  17. }