SbomReferenceIntotoPayload.fromJson constructor
SbomReferenceIntotoPayload.fromJson(
- Map json_
Implementation
SbomReferenceIntotoPayload.fromJson(core.Map json_)
: this(
P_type:
json_.containsKey('_type') ? json_['_type'] as core.String : null,
predicate: json_.containsKey('predicate')
? SbomReferenceIntotoPredicate.fromJson(
json_['predicate'] as core.Map<core.String, core.dynamic>)
: null,
predicateType: json_.containsKey('predicateType')
? json_['predicateType'] as core.String
: null,
subject: json_.containsKey('subject')
? (json_['subject'] as core.List)
.map((value) => Subject.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);