PlayerScoreSubmissionList.fromJson constructor

PlayerScoreSubmissionList.fromJson(
  1. Map json_
)

Implementation

PlayerScoreSubmissionList.fromJson(core.Map json_)
    : this(
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        scores: json_.containsKey('scores')
            ? (json_['scores'] as core.List)
                .map((value) => ScoreSubmission.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );