GamesPlayerLevelResource.fromJson constructor

GamesPlayerLevelResource.fromJson(
  1. Map json_
)

Implementation

GamesPlayerLevelResource.fromJson(core.Map json_)
    : this(
        level: json_.containsKey('level') ? json_['level'] as core.int : null,
        maxExperiencePoints: json_.containsKey('maxExperiencePoints')
            ? json_['maxExperiencePoints'] as core.String
            : null,
        minExperiencePoints: json_.containsKey('minExperiencePoints')
            ? json_['minExperiencePoints'] as core.String
            : null,
      );