core.Map<core.String, core.dynamic> toJson() => { if (currentSteps != null) 'currentSteps': currentSteps!, };