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