DSSEAttestationOccurrence.fromJson constructor

DSSEAttestationOccurrence.fromJson(
  1. Map json_
)

Implementation

DSSEAttestationOccurrence.fromJson(core.Map json_)
    : this(
        envelope: json_.containsKey('envelope')
            ? Envelope.fromJson(
                json_['envelope'] as core.Map<core.String, core.dynamic>)
            : null,
        statement: json_.containsKey('statement')
            ? InTotoStatement.fromJson(
                json_['statement'] as core.Map<core.String, core.dynamic>)
            : null,
      );