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