AchievementItemData class
Properties
-
completedSteps
→ int
-
On Android the achievement type should be
TYPE_INCREMENTAL
to get the steps, otherwise it will be 0.
On iOS/macOS completedSteps is the same as percentComplete
.
final
-
description
→ String
-
On iOS/macOS description will be either
achievedDescription
or
unachievedDescription
, depending on whether or not the achievement has been unlocked.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
id
→ String
-
final
-
lockedImage
→ String?
-
The achievement's locked (unrevealed) image as base64.
final
-
name
→ String
-
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
totalSteps
→ int
-
On Android the achievement type should be
TYPE_INCREMENTAL
to get the total steps, otherwise it will be 0.
On iOS/macOS totalSteps will always be 100.
final
-
unlocked
→ bool
-
final
-
unlockedImage
→ String?
-
The achievement's unlocked (revealed) image as base64.
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