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