toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (achievementCount != null) 'achievement_count': achievementCount!,
if (assets != null) 'assets': assets!,
if (author != null) 'author': author!,
if (category != null) 'category': category!,
if (description != null) 'description': description!,
if (enabledFeatures != null) 'enabledFeatures': enabledFeatures!,
if (id != null) 'id': id!,
if (instances != null) 'instances': instances!,
if (kind != null) 'kind': kind!,
if (lastUpdatedTimestamp != null)
'lastUpdatedTimestamp': lastUpdatedTimestamp!,
if (leaderboardCount != null) 'leaderboard_count': leaderboardCount!,
if (name != null) 'name': name!,
if (themeColor != null) 'themeColor': themeColor!,
};