toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (alwaysRun != null) 'alwaysRun': alwaysRun!,
if (blockExternalNetwork != null)
'blockExternalNetwork': blockExternalNetwork!,
if (commands != null) 'commands': commands!,
if (containerName != null) 'containerName': containerName!,
if (credentials != null) 'credentials': credentials!,
if (disableImagePrefetch != null)
'disableImagePrefetch': disableImagePrefetch!,
if (disableStandardErrorCapture != null)
'disableStandardErrorCapture': disableStandardErrorCapture!,
if (enableFuse != null) 'enableFuse': enableFuse!,
if (encryptedEnvironment != null)
'encryptedEnvironment': encryptedEnvironment!,
if (entrypoint != null) 'entrypoint': entrypoint!,
if (environment != null) 'environment': environment!,
if (ignoreExitStatus != null) 'ignoreExitStatus': ignoreExitStatus!,
if (imageUri != null) 'imageUri': imageUri!,
if (labels != null) 'labels': labels!,
if (mounts != null) 'mounts': mounts!,
if (pidNamespace != null) 'pidNamespace': pidNamespace!,
if (portMappings != null) 'portMappings': portMappings!,
if (publishExposedPorts != null)
'publishExposedPorts': publishExposedPorts!,
if (runInBackground != null) 'runInBackground': runInBackground!,
if (timeout != null) 'timeout': timeout!,
};