mirrored_repositories/mina-finansial/lib/controller/bloc
part of 'wallet_bloc.dart';

abstract class WalletState extends Equatable {
  const WalletState();

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

class WalletInitial extends WalletState {}

class WalletLoading extends WalletState {}

class WalletFailure extends WalletState {
  final String? error;

  const WalletFailure({this.error});

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

class WalletSuccess extends WalletState {
  final WalletModel balance;
  

  const WalletSuccess(this.balance);

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