toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (certificateDescription != null)
        'certificateDescription': certificateDescription!.toJson(),
      if (config != null) 'config': config!.toJson(),
      if (createTime != null) 'createTime': createTime!,
      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!.toJson(),
      if (updateTime != null) 'updateTime': updateTime!,
    };