GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata.fromJson constructor

GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata.fromJson(
  1. Map json_
)

Implementation

GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata.fromJson(core.Map json_)
    : this(
        buildFinishedOn: json_.containsKey('buildFinishedOn')
            ? json_['buildFinishedOn'] as core.String
            : null,
        buildInvocationId: json_.containsKey('buildInvocationId')
            ? json_['buildInvocationId'] as core.String
            : null,
        buildStartedOn: json_.containsKey('buildStartedOn')
            ? json_['buildStartedOn'] as core.String
            : null,
        completeness: json_.containsKey('completeness')
            ? GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness.fromJson(
                json_['completeness'] as core.Map<core.String, core.dynamic>)
            : null,
        reproducible: json_.containsKey('reproducible')
            ? json_['reproducible'] as core.bool
            : null,
      );