swipe method

void swipe(
  1. DismissDirection direction
)

Swipe the top most card in the specified direction

Implementation

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