feat: add characters

This commit is contained in:
2026-07-10 00:56:58 +03:30
parent 7c067d36f2
commit 97d156c492
28 changed files with 486 additions and 94 deletions
@@ -13,8 +13,10 @@ class WalletModel extends WalletEntity {
required super.vip,
required super.selectedCard,
required super.selectedCarpet,
super.selectedCarpetImg,
required super.name,
required super.avatar,
super.avatarImg,
super.dailyStreak,
super.bestStreak,
super.dailyReady,
@@ -38,8 +40,10 @@ class WalletModel extends WalletEntity {
vip: (wallet['vip'] ?? false) as bool,
selectedCard: (wallet['selected_card'] ?? 'simple') as String,
selectedCarpet: (wallet['selected_carpet'] ?? 'classic') as String,
selectedCarpetImg: (wallet['selected_carpet_img'] ?? '') as String,
name: (name == null || name.isEmpty) ? 'بازیکن' : name,
avatar: (avatar == null || avatar.isEmpty) ? 'hakem-1' : avatar,
avatarImg: (wallet['selected_avatar_img'] ?? '') as String,
dailyStreak: (wallet['daily_streak'] ?? 0) as int,
bestStreak: (wallet['best_streak'] ?? 0) as int,
dailyReady: (wallet['daily_ready'] ?? true) as bool,