DnsRecordSet.fromJson constructor
DnsRecordSet.fromJson(
- Map json_
Implementation
DnsRecordSet.fromJson(core.Map json_)
: this(
data: json_.containsKey('data')
? (json_['data'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
domain: json_.containsKey('domain')
? json_['domain'] as core.String
: null,
ttl: json_.containsKey('ttl') ? json_['ttl'] as core.String : null,
type: json_.containsKey('type') ? json_['type'] as core.String : null,
);