ClaimDailyRewardResponse class Null safety
A class that represents the response of claim daily rewards.
Constructors
-
ClaimDailyRewardResponse({required int daysLoggedIn, required bool alreadyClaimed, required List<
Item> rewardsByDay}) - Creates a new instance of this class.
- ClaimDailyRewardResponse.fromDay(int _day, bool _alreadyClaimed)
-
Creates a new instance of this class from day.
factory
Properties
- alreadyClaimed ↔ bool
-
was the reward already claimed?
read / write
- daysLoggedIn ↔ int
-
days logged in
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
-
rewardsByDay
↔ List<
Item> -
list of rewards by day
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited