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,
      );