DnsSettings.fromJson constructor
DnsSettings.fromJson(
- Map _json
Implementation
DnsSettings.fromJson(core.Map _json)
: this(
customDns: _json.containsKey('customDns')
? CustomDns.fromJson(
_json['customDns'] as core.Map<core.String, core.dynamic>)
: null,
glueRecords: _json.containsKey('glueRecords')
? (_json['glueRecords'] as core.List)
.map((value) => GlueRecord.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
googleDomainsDns: _json.containsKey('googleDomainsDns')
? GoogleDomainsDns.fromJson(_json['googleDomainsDns']
as core.Map<core.String, core.dynamic>)
: null,
);