toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (friendsRank != null) 'friendsRank': friendsRank!,
  if (kind != null) 'kind': kind!,
  if (leaderboardId != null) 'leaderboard_id': leaderboardId!,
  if (publicRank != null) 'publicRank': publicRank!,
  if (scoreString != null) 'scoreString': scoreString!,
  if (scoreTag != null) 'scoreTag': scoreTag!,
  if (scoreValue != null) 'scoreValue': scoreValue!,
  if (socialRank != null) 'socialRank': socialRank!,
  if (timeSpan != null) 'timeSpan': timeSpan!,
  if (writeTimestamp != null) 'writeTimestamp': writeTimestamp!,
};