part of 'voucher_loader_bloc.dart'; @freezed abstract class VoucherLoaderState with _$VoucherLoaderState { const factory VoucherLoaderState({ required List vouchers, required Option failureOption, @Default(false) bool isFetching, @Default(false) bool hasLoaded, }) = _VoucherLoaderState; factory VoucherLoaderState.initial() => VoucherLoaderState(vouchers: const [], failureOption: none()); }