PlayerAchievement class
An achievement object.
Constructors
- PlayerAchievement({String? achievementState, int? currentSteps, String? experiencePoints, String? formattedCurrentStepsString, String? id, String? kind, String? lastUpdatedTimestamp})
- PlayerAchievement.fromJson(Map json_)
Properties
- achievementState ↔ String?
-
The state of the achievement.
Possible string values are:
getter/setter pair
- currentSteps ↔ int?
-
The current steps for an incremental achievement.
getter/setter pair
- experiencePoints ↔ String?
-
Experience points earned for the achievement.
getter/setter pair
- formattedCurrentStepsString ↔ String?
-
The current steps for an incremental achievement as a string.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
The ID of the achievement.
getter/setter pair
- kind ↔ String?
-
Uniquely identifies the type of this resource.
getter/setter pair
- lastUpdatedTimestamp ↔ String?
-
The timestamp of the last modification to this achievement's state.
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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited