ForwardingRule.fromJson constructor

ForwardingRule.fromJson(
  1. Map json_
)

Implementation

ForwardingRule.fromJson(core.Map json_)
    : this(
        domain: json_.containsKey('domain')
            ? json_['domain'] as core.String
            : null,
        nameServers: json_.containsKey('nameServers')
            ? (json_['nameServers'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );