LeaderboardConfigurationListResponse.fromJson constructor

LeaderboardConfigurationListResponse.fromJson(
  1. Map _json
)

Implementation

LeaderboardConfigurationListResponse.fromJson(core.Map _json) {
  if (_json.containsKey("items")) {
    items = (_json["items"] as core.List)
        .map<LeaderboardConfiguration>(
            (value) => new LeaderboardConfiguration.fromJson(value))
        .toList();
  }
  if (_json.containsKey("kind")) {
    kind = _json["kind"];
  }
  if (_json.containsKey("nextPageToken")) {
    nextPageToken = _json["nextPageToken"];
  }
}