$SbomReferenceIntotoPredicate.fromJson constructor

$SbomReferenceIntotoPredicate.fromJson(
  1. Map json_
)

Implementation

$SbomReferenceIntotoPredicate.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,
        location: json_.containsKey('location')
            ? json_['location'] as core.String
            : null,
        mimeType: json_.containsKey('mimeType')
            ? json_['mimeType'] as core.String
            : null,
        referrerId: json_.containsKey('referrerId')
            ? json_['referrerId'] as core.String
            : null,
      );