DomainMapping.fromJson constructor
DomainMapping.fromJson(
- Map json_
Implementation
DomainMapping.fromJson(core.Map json_)
: this(
id: json_.containsKey('id') ? json_['id'] as core.String : null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
resourceRecords: json_.containsKey('resourceRecords')
? (json_['resourceRecords'] as core.List)
.map((value) => ResourceRecord.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
sslSettings: json_.containsKey('sslSettings')
? SslSettings.fromJson(
json_['sslSettings'] as core.Map<core.String, core.dynamic>)
: null,
);