toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (completed != null) 'completed': completed!,
if (counterUpdates != null) 'counterUpdates': counterUpdates!,
if (dynamicSourceSplit != null)
'dynamicSourceSplit': dynamicSourceSplit!,
if (errors != null) 'errors': errors!,
if (metricUpdates != null) 'metricUpdates': metricUpdates!,
if (progress != null) 'progress': progress!,
if (reportIndex != null) 'reportIndex': reportIndex!,
if (reportedProgress != null) 'reportedProgress': reportedProgress!,
if (requestedLeaseDuration != null)
'requestedLeaseDuration': requestedLeaseDuration!,
if (sourceFork != null) 'sourceFork': sourceFork!,
if (sourceOperationResponse != null)
'sourceOperationResponse': sourceOperationResponse!,
if (stopPosition != null) 'stopPosition': stopPosition!,
if (totalThrottlerWaitTimeSeconds != null)
'totalThrottlerWaitTimeSeconds': totalThrottlerWaitTimeSeconds!,
if (workItemId != null) 'workItemId': workItemId!,
};