toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (currentTaskNumber != null) 'currentTaskNumber': currentTaskNumber!,
if (nextTaskNumber != null) 'nextTaskNumber': nextTaskNumber!,
if (result != null) 'result': result!,
};