tryCall method
void
tryCall()
Calls callback if the gesture is not rejectable, then clears it.
Implementation
void tryCall() {
if (isRejectable) return;
callback?.call();
callback = null;
}
Calls callback if the gesture is not rejectable, then clears it.
void tryCall() {
if (isRejectable) return;
callback?.call();
callback = null;
}