OperationDnsKeyContext.fromJson constructor

OperationDnsKeyContext.fromJson(
  1. Map json_
)

Implementation

OperationDnsKeyContext.fromJson(core.Map json_)
    : this(
        newValue: json_.containsKey('newValue')
            ? DnsKey.fromJson(
                json_['newValue'] as core.Map<core.String, core.dynamic>)
            : null,
        oldValue: json_.containsKey('oldValue')
            ? DnsKey.fromJson(
                json_['oldValue'] as core.Map<core.String, core.dynamic>)
            : null,
      );