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