PlayerAchievement.fromJson constructor
PlayerAchievement.fromJson(
- Map json_
Implementation
PlayerAchievement.fromJson(core.Map json_)
: this(
achievementState: json_.containsKey('achievementState')
? json_['achievementState'] as core.String
: null,
currentSteps: json_.containsKey('currentSteps')
? json_['currentSteps'] as core.int
: null,
experiencePoints: json_.containsKey('experiencePoints')
? json_['experiencePoints'] as core.String
: null,
formattedCurrentStepsString:
json_.containsKey('formattedCurrentStepsString')
? json_['formattedCurrentStepsString'] as core.String
: null,
id: json_.containsKey('id') ? json_['id'] as core.String : null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
lastUpdatedTimestamp: json_.containsKey('lastUpdatedTimestamp')
? json_['lastUpdatedTimestamp'] as core.String
: null,
);