LeaderboardScoreRank.fromJson constructor

LeaderboardScoreRank.fromJson(
  1. Map json_
)

Implementation

LeaderboardScoreRank.fromJson(core.Map json_)
    : this(
        formattedNumScores: json_.containsKey('formattedNumScores')
            ? json_['formattedNumScores'] as core.String
            : null,
        formattedRank: json_.containsKey('formattedRank')
            ? json_['formattedRank'] as core.String
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        numScores: json_.containsKey('numScores')
            ? json_['numScores'] as core.String
            : null,
        rank: json_.containsKey('rank') ? json_['rank'] as core.String : null,
      );