toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (certificateDescription != null)
        'certificateDescription': certificateDescription!,
      if (certificateTemplate != null)
        'certificateTemplate': certificateTemplate!,
      if (config != null) 'config': config!,
      if (createTime != null) 'createTime': createTime!,
      if (issuerCertificateAuthority != null)
        'issuerCertificateAuthority': issuerCertificateAuthority!,
      if (labels != null) 'labels': labels!,
      if (lifetime != null) 'lifetime': lifetime!,
      if (name != null) 'name': name!,
      if (pemCertificate != null) 'pemCertificate': pemCertificate!,
      if (pemCertificateChain != null)
        'pemCertificateChain': pemCertificateChain!,
      if (pemCsr != null) 'pemCsr': pemCsr!,
      if (revocationDetails != null) 'revocationDetails': revocationDetails!,
      if (subjectMode != null) 'subjectMode': subjectMode!,
      if (updateTime != null) 'updateTime': updateTime!,
    };