TransferParameters.fromJson constructor
TransferParameters.fromJson(
- Map _json
Implementation
TransferParameters.fromJson(core.Map _json)
: this(
currentRegistrar: _json.containsKey('currentRegistrar')
? _json['currentRegistrar'] as core.String
: null,
domainName: _json.containsKey('domainName')
? _json['domainName'] as core.String
: null,
nameServers: _json.containsKey('nameServers')
? (_json['nameServers'] 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,
transferLockState: _json.containsKey('transferLockState')
? _json['transferLockState'] as core.String
: null,
yearlyPrice: _json.containsKey('yearlyPrice')
? Money.fromJson(
_json['yearlyPrice'] as core.Map<core.String, core.dynamic>)
: null,
);