TransferDomainRequest.fromJson constructor

TransferDomainRequest.fromJson(
  1. Map _json
)

Implementation

TransferDomainRequest.fromJson(core.Map _json)
    : this(
        authorizationCode: _json.containsKey('authorizationCode')
            ? AuthorizationCode.fromJson(_json['authorizationCode']
                as core.Map<core.String, core.dynamic>)
            : null,
        contactNotices: _json.containsKey('contactNotices')
            ? (_json['contactNotices'] as core.List)
                .map((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,
      );