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