DnsKeySpec.fromJson constructor

DnsKeySpec.fromJson(
  1. Map json_
)

Implementation

DnsKeySpec.fromJson(core.Map json_)
    : this(
        algorithm: json_.containsKey('algorithm')
            ? json_['algorithm'] as core.String
            : null,
        keyLength: json_.containsKey('keyLength')
            ? json_['keyLength'] as core.int
            : null,
        keyType: json_.containsKey('keyType')
            ? json_['keyType'] as core.String
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
      );