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