PgpSignedAttestation.fromJson constructor

PgpSignedAttestation.fromJson(
  1. Map _json
)

Implementation

PgpSignedAttestation.fromJson(core.Map _json)
    : this(
        contentType: _json.containsKey('contentType')
            ? _json['contentType'] as core.String
            : null,
        pgpKeyId: _json.containsKey('pgpKeyId')
            ? _json['pgpKeyId'] as core.String
            : null,
        signature: _json.containsKey('signature')
            ? _json['signature'] as core.String
            : null,
      );