PlayerExperienceInfo.fromJson constructor
PlayerExperienceInfo.fromJson(
- Map json_
Implementation
PlayerExperienceInfo.fromJson(core.Map json_)
: this(
currentExperiencePoints: json_.containsKey('currentExperiencePoints')
? json_['currentExperiencePoints'] as core.String
: null,
currentLevel: json_.containsKey('currentLevel')
? PlayerLevel.fromJson(
json_['currentLevel'] as core.Map<core.String, core.dynamic>)
: null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
lastLevelUpTimestampMillis:
json_.containsKey('lastLevelUpTimestampMillis')
? json_['lastLevelUpTimestampMillis'] as core.String
: null,
nextLevel: json_.containsKey('nextLevel')
? PlayerLevel.fromJson(
json_['nextLevel'] as core.Map<core.String, core.dynamic>)
: null,
);