DnsKeysListResponse.fromJson constructor

DnsKeysListResponse.fromJson(
  1. Map json_
)

Implementation

DnsKeysListResponse.fromJson(core.Map json_)
    : this(
        dnsKeys: json_.containsKey('dnsKeys')
            ? (json_['dnsKeys'] as core.List)
                .map((value) => DnsKey.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        header: json_.containsKey('header')
            ? ResponseHeader.fromJson(
                json_['header'] as core.Map<core.String, core.dynamic>)
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
      );