GoogleDomainsDns.fromJson constructor

GoogleDomainsDns.fromJson(
  1. Map json_
)

Implementation

GoogleDomainsDns.fromJson(core.Map json_)
    : this(
        dsRecords: json_.containsKey('dsRecords')
            ? (json_['dsRecords'] as core.List)
                .map((value) => DsRecord.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        dsState: json_.containsKey('dsState')
            ? json_['dsState'] as core.String
            : null,
        nameServers: json_.containsKey('nameServers')
            ? (json_['nameServers'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );