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