ClaimDailyRewardResponse class

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?
getter/setter pair
daysLoggedIn int
days logged in
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
rewardsByDay List<Item>
list of rewards by day
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited