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,
);