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,
      );