AchievementUpdateResponse class

An updated achievement.

Constructors

AchievementUpdateResponse({String? achievementId, String? currentState, int? currentSteps, String? kind, bool? newlyUnlocked, bool? updateOccurred})
AchievementUpdateResponse.fromJson(Map json_)

Properties

achievementId String?
The achievement this update is was applied to.
getter/setter pair
currentState String?
The current state of the achievement. Possible string values are:
getter/setter pair
currentSteps int?
The current steps recorded for this achievement if it is incremental.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
kind String?
Uniquely identifies the type of this resource.
getter/setter pair
newlyUnlocked bool?
Whether this achievement was newly unlocked (that is, whether the unlock request for the achievement was the first for the player).
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updateOccurred bool?
Whether the requested updates actually affected the achievement.
getter/setter pair

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