GuildContributionMilestone class
One community contribution milestone supplied by the caller.
- Annotations
Constructors
- GuildContributionMilestone({required String id, required int requiredContribution, required MilestoneReward reward, bool isClaimed = false})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- isClaimed → bool
-
final
- requiredContribution → int
-
final
- reward → MilestoneReward
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
isReached(
int totalContribution) → bool -
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