Attestation.fromJson constructor

Attestation.fromJson(
  1. Map _json
)

Implementation

Attestation.fromJson(core.Map _json)
    : this(
        genericSignedAttestation:
            _json.containsKey('genericSignedAttestation')
                ? GenericSignedAttestation.fromJson(
                    _json['genericSignedAttestation']
                        as core.Map<core.String, core.dynamic>)
                : null,
        pgpSignedAttestation: _json.containsKey('pgpSignedAttestation')
            ? PgpSignedAttestation.fromJson(_json['pgpSignedAttestation']
                as core.Map<core.String, core.dynamic>)
            : null,
      );