toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (assertions != null) 'assertions': assertions!,
if (mockConfig != null) 'mockConfig': mockConfig!,
if (task != null) 'task': task!,
if (taskConfig != null) 'taskConfig': taskConfig!,
if (taskNumber != null) 'taskNumber': taskNumber!,
};