Use sine behaviour. When second jump is trigger set Y position determined by sine movement for few second then disable the jump function. Just raw explanation from me, maybe I will make an example for your case.
EDIT
here I create flutter jump example