part of 'supplier_cubit.dart';

abstract class SupplierState extends Equatable {
  const SupplierState();

  @override
  List<Object> get props => [];
}

class SupplierInitial extends SupplierState {}

class SupplierLoading extends SupplierState {}

class SupplierSuccess extends SupplierState {
  final List<Supplier> supplier;
  const SupplierSuccess({required this.supplier});

  @override
  List<Object> get props => [supplier];
}

class SupplierFailure extends SupplierState {
  final String message;

  SupplierFailure({this.message = ""});

  @override
  List<Object> get props => [message];
}
