toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (contactSettings != null)
        'contactSettings': contactSettings!.toJson(),
      if (createTime != null) 'createTime': createTime!,
      if (dnsSettings != null) 'dnsSettings': dnsSettings!.toJson(),
      if (domainName != null) 'domainName': domainName!,
      if (expireTime != null) 'expireTime': expireTime!,
      if (issues != null) 'issues': issues!,
      if (labels != null) 'labels': labels!,
      if (managementSettings != null)
        'managementSettings': managementSettings!.toJson(),
      if (name != null) 'name': name!,
      if (pendingContactSettings != null)
        'pendingContactSettings': pendingContactSettings!.toJson(),
      if (state != null) 'state': state!,
      if (supportedPrivacy != null) 'supportedPrivacy': supportedPrivacy!,
    };