If there are a limited number of flashes, you can cut them out and use Smooth Cut (available in free version too) to cover over them. He shows some tips to make a two-frame Smooth Cut the default transition so you can apply it in one keystroke. But you basically have to locate the flash, back up two frames and cut, go beyond the end two frames, cut, delete the flash and apply a two-frame Smooth Cut.
So if you have hundreds this might become a bit hard, and if there's fast motion or other motion that Optical Flow can't handle, this might leave a different kind of artifact. Though, I'm thinking a bit of morphish appearance is probably better than ruined frames. And to be honest, you probably can't do anything to a single frame to fix the flash as the flash-affectred pixels are probably WAY overexposed and not recoverable.
I can imagine a very fancy Fusion approach with Optical Flow and an analysis node looking for flashes, but...
Resolve Studio 19 latest, Fusion Studio 19 latest, MacOS Sequoia latest, MacBook Pro M4 Max