Files
enaklo-flutter/lib/application/wallet/wallet_loader/wallet_loader_event.dart
T
efrilm 38850b281f
Build & Deploy iOS to TestFlight / build-and-deploy (push) Canceled after 0s
feat: integrate enakgame and voucher
2026-10-10 02:33:16 +07:00

15 lines
481 B
Dart

part of 'wallet_loader_bloc.dart';
@freezed
abstract class WalletLoaderEvent with _$WalletLoaderEvent {
const factory WalletLoaderEvent.fetched() = _Fetched;
/// Saldo EnakCoin terbaru yang dikirim game lewat bridge
/// (`balance_changed`).
const factory WalletLoaderEvent.coinBalanceUpdated(int coinBalance) =
_CoinBalanceUpdated;
/// Dipanggil saat logout supaya saldo akun sebelumnya tidak tertampil.
const factory WalletLoaderEvent.cleared() = _Cleared;
}