feat: integrate enakgame and voucher
Build & Deploy iOS to TestFlight / build-and-deploy (push) Canceled after 0s
Build & Deploy iOS to TestFlight / build-and-deploy (push) Canceled after 0s
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
part of 'voucher_loader_bloc.dart';
|
||||
|
||||
@freezed
|
||||
abstract class VoucherLoaderState with _$VoucherLoaderState {
|
||||
const factory VoucherLoaderState({
|
||||
required List<Voucher> vouchers,
|
||||
required Option<WalletFailure> failureOption,
|
||||
@Default(false) bool isFetching,
|
||||
@Default(false) bool hasLoaded,
|
||||
}) = _VoucherLoaderState;
|
||||
|
||||
factory VoucherLoaderState.initial() =>
|
||||
VoucherLoaderState(vouchers: const [], failureOption: none());
|
||||
}
|
||||
Reference in New Issue
Block a user