toggleCard method

Future<void> toggleCard()

Flip the card If awaited, returns after animation completes.

Implementation

Future<void> toggleCard() async => await state?.toggleCard();