SSHKey.fromJson constructor

SSHKey.fromJson(
  1. Map json_
)

Implementation

SSHKey.fromJson(core.Map json_)
    : this(
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        publicKey: json_.containsKey('publicKey')
            ? json_['publicKey'] as core.String
            : null,
      );