Achievement class

Constructors

Achievement({required String id, required String name, required String description, required int? expReward, required int? coinReward, required AchievementLevel level, required AchievementType type, int progression = 0, int total = 1})
const
Achievement.fromJson(Map<String, dynamic> json)
factory

Properties

coinReward → int?
final
description → String
final
expReward → int?
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
level → AchievementLevel
final
name → String
final
progression → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
total → int
final
type → AchievementType
final

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