Green’s Dictionary of Slang

flap v.1

also chuck a flap
[? SE flop]

[mid-17C–mid-19C] to fall or throw oneself down suddenly; to throw down.