core.Map<core.String, core.dynamic> toJson() => { if (privateKey != null) 'privateKey': privateKey!, if (publicCertificate != null) 'publicCertificate': publicCertificate!, };