PlayerScoreListResponse.fromJson constructor

PlayerScoreListResponse.fromJson(
  1. Map json_
)

Implementation

PlayerScoreListResponse.fromJson(core.Map json_)
  : this(
      kind: json_['kind'] as core.String?,
      submittedScores:
          (json_['submittedScores'] as core.List?)
              ?.map(
                (value) => PlayerScoreResponse.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
              )
              .toList(),
    );