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