toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (currentRegistrar != null) 'currentRegistrar': currentRegistrar!,
      if (currentRegistrarUri != null)
        'currentRegistrarUri': currentRegistrarUri!,
      if (domainName != null) 'domainName': domainName!,
      if (nameServers != null) 'nameServers': nameServers!,
      if (supportedPrivacy != null) 'supportedPrivacy': supportedPrivacy!,
      if (transferLockState != null) 'transferLockState': transferLockState!,
      if (yearlyPrice != null) 'yearlyPrice': yearlyPrice!,
    };