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