SshPublicKey.fromJson constructor

SshPublicKey.fromJson(
  1. Map json_
)

Implementation

SshPublicKey.fromJson(core.Map json_)
    : this(
        expirationTimeUsec: json_.containsKey('expirationTimeUsec')
            ? json_['expirationTimeUsec'] as core.String
            : null,
        fingerprint: json_.containsKey('fingerprint')
            ? json_['fingerprint'] as core.String
            : null,
        key: json_.containsKey('key') ? json_['key'] as core.String : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );