feat: refactor code
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
/// موجودیتِ کیفپول و وضعیت اقتصادیِ کاربر (بههمراه نام و آواتار برای نوار لابی).
|
||||
class WalletEntity {
|
||||
final int coins;
|
||||
final int tickets;
|
||||
final int xp;
|
||||
final int trophies;
|
||||
final int level;
|
||||
final int xpIntoLevel;
|
||||
final int xpForNext;
|
||||
final bool vip;
|
||||
final String selectedCard;
|
||||
final String name;
|
||||
final String avatar;
|
||||
|
||||
const WalletEntity({
|
||||
required this.coins,
|
||||
required this.tickets,
|
||||
required this.xp,
|
||||
required this.trophies,
|
||||
required this.level,
|
||||
required this.xpIntoLevel,
|
||||
required this.xpForNext,
|
||||
required this.vip,
|
||||
required this.selectedCard,
|
||||
required this.name,
|
||||
required this.avatar,
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user