$GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource.fromJson constructor

$GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource.fromJson(
  1. Map json_
)

Implementation

$GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource.fromJson(core.Map json_)
    : this(
        digest: json_.containsKey('digest')
            ? (json_['digest'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        entryPoint: json_.containsKey('entryPoint')
            ? json_['entryPoint'] as core.String
            : null,
        uri: json_.containsKey('uri') ? json_['uri'] as core.String : null,
      );