toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (attempts != null) 'attempts': attempts!,
if (backoffMode != null) 'backoffMode': backoffMode!,
if (jobId != null) 'jobId': jobId!,
if (phaseId != null) 'phaseId': phaseId!,
if (totalAttempts != null) 'totalAttempts': totalAttempts!,
};