PublicKey.fromJson constructor

PublicKey.fromJson(
  1. Map json_
)

Implementation

PublicKey.fromJson(core.Map json_)
    : this(
        algorithm: json_.containsKey('algorithm')
            ? json_['algorithm'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        pem: json_.containsKey('pem') ? json_['pem'] as core.String : null,
        pemCrc32c: json_.containsKey('pemCrc32c')
            ? json_['pemCrc32c'] as core.String
            : null,
        protectionLevel: json_.containsKey('protectionLevel')
            ? json_['protectionLevel'] as core.String
            : null,
      );