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