toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (alwaysRun != null) 'alwaysRun': alwaysRun!,
if (background != null) 'background': background!,
if (container != null) 'container': container!,
if (environment != null) 'environment': environment!,
if (ignoreExitStatus != null) 'ignoreExitStatus': ignoreExitStatus!,
if (script != null) 'script': script!,
if (timeout != null) 'timeout': timeout!,
};