toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (goalCompletionLocation != null)
'goalCompletionLocation': goalCompletionLocation!,
if (goalCompletions != null) 'goalCompletions': goalCompletions!,
if (goalIndex != null) 'goalIndex': goalIndex!,
if (goalName != null) 'goalName': goalName!,
if (goalPreviousStep1 != null) 'goalPreviousStep1': goalPreviousStep1!,
if (goalPreviousStep2 != null) 'goalPreviousStep2': goalPreviousStep2!,
if (goalPreviousStep3 != null) 'goalPreviousStep3': goalPreviousStep3!,
if (goalValue != null) 'goalValue': goalValue!,
};