AgentTaskRunnable.fromJson constructor
AgentTaskRunnable.fromJson(
- Map json_
Implementation
AgentTaskRunnable.fromJson(core.Map json_)
: this(
alwaysRun: json_.containsKey('alwaysRun')
? json_['alwaysRun'] as core.bool
: null,
background: json_.containsKey('background')
? json_['background'] as core.bool
: null,
container: json_.containsKey('container')
? AgentContainer.fromJson(
json_['container'] as core.Map<core.String, core.dynamic>)
: null,
environment: json_.containsKey('environment')
? AgentEnvironment.fromJson(
json_['environment'] as core.Map<core.String, core.dynamic>)
: null,
ignoreExitStatus: json_.containsKey('ignoreExitStatus')
? json_['ignoreExitStatus'] as core.bool
: null,
script: json_.containsKey('script')
? AgentScript.fromJson(
json_['script'] as core.Map<core.String, core.dynamic>)
: null,
timeout: json_.containsKey('timeout')
? json_['timeout'] as core.String
: null,
);