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