ScoreSubmission.fromJson constructor

ScoreSubmission.fromJson(
  1. Map json_
)

Implementation

ScoreSubmission.fromJson(core.Map json_)
    : this(
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        leaderboardId: json_.containsKey('leaderboardId')
            ? json_['leaderboardId'] as core.String
            : null,
        score:
            json_.containsKey('score') ? json_['score'] as core.String : null,
        scoreTag: json_.containsKey('scoreTag')
            ? json_['scoreTag'] as core.String
            : null,
        signature: json_.containsKey('signature')
            ? json_['signature'] as core.String
            : null,
      );