RegisterDomainRequest.fromJson constructor
RegisterDomainRequest.fromJson(
- Map _json
Implementation
RegisterDomainRequest.fromJson(core.Map _json)
: this(
contactNotices: _json.containsKey('contactNotices')
? (_json['contactNotices'] as core.List)
.map<core.String>((value) => value as core.String)
.toList()
: null,
domainNotices: _json.containsKey('domainNotices')
? (_json['domainNotices'] as core.List)
.map<core.String>((value) => value as core.String)
.toList()
: null,
registration: _json.containsKey('registration')
? Registration.fromJson(
_json['registration'] as core.Map<core.String, core.dynamic>)
: null,
validateOnly: _json.containsKey('validateOnly')
? _json['validateOnly'] as core.bool
: null,
yearlyPrice: _json.containsKey('yearlyPrice')
? Money.fromJson(
_json['yearlyPrice'] as core.Map<core.String, core.dynamic>)
: null,
);