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