swipe method

void swipe(
  1. IconPosition iconPosition,
  2. CardPosition cardPosition
)

Implementation

void swipe(IconPosition iconPosition, CardPosition cardPosition) => _state != null ? _state!.onSwipe(iconPosition, cardPosition) : null;