RegisterParameters.fromJson constructor
RegisterParameters.fromJson(
- Map json_
Implementation
RegisterParameters.fromJson(core.Map json_)
: this(
availability: json_.containsKey('availability')
? json_['availability'] as core.String
: null,
domainName: json_.containsKey('domainName')
? json_['domainName'] as core.String
: null,
domainNotices: json_.containsKey('domainNotices')
? (json_['domainNotices'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
supportedPrivacy: json_.containsKey('supportedPrivacy')
? (json_['supportedPrivacy'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
yearlyPrice: json_.containsKey('yearlyPrice')
? Money.fromJson(
json_['yearlyPrice'] as core.Map<core.String, core.dynamic>)
: null,
);