Domain.fromJson constructor
Domain.fromJson(
- Map _json
Implementation
Domain.fromJson(core.Map _json)
: this(
domainName: _json.containsKey('domainName')
? _json['domainName'] as core.String
: null,
domainRedirect: _json.containsKey('domainRedirect')
? DomainRedirect.fromJson(_json['domainRedirect']
as core.Map<core.String, core.dynamic>)
: null,
provisioning: _json.containsKey('provisioning')
? DomainProvisioning.fromJson(
_json['provisioning'] as core.Map<core.String, core.dynamic>)
: null,
site: _json.containsKey('site') ? _json['site'] as core.String : null,
status: _json.containsKey('status')
? _json['status'] as core.String
: null,
updateTime: _json.containsKey('updateTime')
? _json['updateTime'] as core.String
: null,
);