SlsaProvenanceV1.fromJson constructor

SlsaProvenanceV1.fromJson(
  1. Map json_
)

Implementation

SlsaProvenanceV1.fromJson(core.Map json_)
    : this(
        buildDefinition: json_.containsKey('buildDefinition')
            ? BuildDefinition.fromJson(json_['buildDefinition']
                as core.Map<core.String, core.dynamic>)
            : null,
        runDetails: json_.containsKey('runDetails')
            ? RunDetails.fromJson(
                json_['runDetails'] as core.Map<core.String, core.dynamic>)
            : null,
      );