swipe method

void swipe(
  1. DismissDirection direction
)

Swipe the card in a specific direction

Implementation

void swipe(DismissDirection direction) => _state != null ? _state!.swipe(direction) : null;