AchievementDefinition class

An achievement definition object.

Constructors

AchievementDefinition({String? achievementType, String? description, String? experiencePoints, String? formattedTotalSteps, String? id, String? initialState, bool? isRevealedIconUrlDefault, bool? isUnlockedIconUrlDefault, String? kind, String? name, String? revealedIconUrl, int? totalSteps, String? unlockedIconUrl})
AchievementDefinition.fromJson(Map json_)

Properties

achievementType String?
The type of the achievement. Possible string values are:
getter/setter pair
description String?
The description of the achievement.
getter/setter pair
experiencePoints String?
Experience points which will be earned when unlocking this achievement.
getter/setter pair
formattedTotalSteps String?
The total 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
initialState String?
The initial state of the achievement. Possible string values are:
getter/setter pair
isRevealedIconUrlDefault bool?
Indicates whether the revealed icon image being returned is a default image, or is provided by the game.
getter/setter pair
isUnlockedIconUrlDefault bool?
Indicates whether the unlocked icon image being returned is a default image, or is game-provided.
getter/setter pair
kind String?
Uniquely identifies the type of this resource.
getter/setter pair
name String?
The name of the achievement.
getter/setter pair
revealedIconUrl String?
The image URL for the revealed achievement icon.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalSteps int?
The total steps for an incremental achievement.
getter/setter pair
unlockedIconUrl String?
The image URL for the unlocked achievement icon.
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