I have a flutter app, which streams video from an ESP32 Camera. The code I am interested in should take a snapshot of the image. However, when I press the button, I get the