toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (achievementId != null) 'achievementId': achievementId!,
if (currentState != null) 'currentState': currentState!,
if (currentSteps != null) 'currentSteps': currentSteps!,
if (kind != null) 'kind': kind!,
if (newlyUnlocked != null) 'newlyUnlocked': newlyUnlocked!,
if (updateOccurred != null) 'updateOccurred': updateOccurred!,
};