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