ToolOutputReference.fromJson constructor

ToolOutputReference.fromJson(
  1. Map json_
)

Implementation

ToolOutputReference.fromJson(core.Map json_)
    : this(
        creationTime: json_.containsKey('creationTime')
            ? Timestamp.fromJson(
                json_['creationTime'] as core.Map<core.String, core.dynamic>)
            : null,
        output: json_.containsKey('output')
            ? FileReference.fromJson(
                json_['output'] as core.Map<core.String, core.dynamic>)
            : null,
        testCase: json_.containsKey('testCase')
            ? TestCaseReference.fromJson(
                json_['testCase'] as core.Map<core.String, core.dynamic>)
            : null,
      );