swipe method

void swipe(
  1. DismissDirection direction
)

Swipe card in a designated direction

Implementation

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