toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (containerKilled != null)
'containerKilled': containerKilled!.toJson(),
if (containerStarted != null)
'containerStarted': containerStarted!.toJson(),
if (containerStopped != null)
'containerStopped': containerStopped!.toJson(),
if (delayed != null) 'delayed': delayed!.toJson(),
if (description != null) 'description': description!,
if (failed != null) 'failed': failed!.toJson(),
if (pullStarted != null) 'pullStarted': pullStarted!.toJson(),
if (pullStopped != null) 'pullStopped': pullStopped!.toJson(),
if (timestamp != null) 'timestamp': timestamp!,
if (unexpectedExitStatus != null)
'unexpectedExitStatus': unexpectedExitStatus!.toJson(),
if (workerAssigned != null) 'workerAssigned': workerAssigned!.toJson(),
if (workerReleased != null) 'workerReleased': workerReleased!.toJson(),
};