ToolExecution.fromJson constructor
ToolExecution.fromJson(
- Map _json
Implementation
ToolExecution.fromJson(core.Map _json)
: this(
commandLineArguments: _json.containsKey('commandLineArguments')
? (_json['commandLineArguments'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
exitCode: _json.containsKey('exitCode')
? ToolExitCode.fromJson(
_json['exitCode'] as core.Map<core.String, core.dynamic>)
: null,
toolLogs: _json.containsKey('toolLogs')
? (_json['toolLogs'] as core.List)
.map((value) => FileReference.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
toolOutputs: _json.containsKey('toolOutputs')
? (_json['toolOutputs'] as core.List)
.map((value) => ToolOutputReference.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);