SBOMReferenceOccurrence.fromJson constructor
SBOMReferenceOccurrence.fromJson(
- Map json_
Implementation
SBOMReferenceOccurrence.fromJson(core.Map json_)
: this(
payload: json_.containsKey('payload')
? SbomReferenceIntotoPayload.fromJson(
json_['payload'] as core.Map<core.String, core.dynamic>)
: null,
payloadType: json_.containsKey('payloadType')
? json_['payloadType'] as core.String
: null,
signatures: json_.containsKey('signatures')
? (json_['signatures'] as core.List)
.map((value) => EnvelopeSignature.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);