AttestorPublicKey.fromJson constructor

AttestorPublicKey.fromJson(
  1. Map json_
)

Implementation

AttestorPublicKey.fromJson(core.Map json_)
    : this(
        asciiArmoredPgpPublicKey:
            json_.containsKey('asciiArmoredPgpPublicKey')
                ? json_['asciiArmoredPgpPublicKey'] as core.String
                : null,
        comment: json_.containsKey('comment')
            ? json_['comment'] as core.String
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        pkixPublicKey: json_.containsKey('pkixPublicKey')
            ? PkixPublicKey.fromJson(
                json_['pkixPublicKey'] as core.Map<core.String, core.dynamic>)
            : null,
      );