feat: add steak
This commit is contained in:
@@ -12,6 +12,10 @@ class WalletEntity {
|
||||
final String selectedCarpet;
|
||||
final String name;
|
||||
final String avatar;
|
||||
final int dailyStreak; // روزهای پیاپیِ دریافتِ سکهی روزانه
|
||||
final int bestStreak;
|
||||
final bool dailyReady; // آیا امروز سکهی روزانه قابلِ دریافت است
|
||||
final int nextDaily; // جایزهی روزانهی بعدی
|
||||
|
||||
const WalletEntity({
|
||||
required this.coins,
|
||||
@@ -26,5 +30,9 @@ class WalletEntity {
|
||||
required this.selectedCarpet,
|
||||
required this.name,
|
||||
required this.avatar,
|
||||
this.dailyStreak = 0,
|
||||
this.bestStreak = 0,
|
||||
this.dailyReady = true,
|
||||
this.nextDaily = 200,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user