toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (formattedNumScores != null)
        'formattedNumScores': formattedNumScores!,
      if (formattedRank != null) 'formattedRank': formattedRank!,
      if (kind != null) 'kind': kind!,
      if (numScores != null) 'numScores': numScores!,
      if (rank != null) 'rank': rank!,
    };