toggleCard method
Flip the card If awaited, returns after animation completes.
Implementation
Future<void> toggleCard() async => await state?.toggleCard();
Flip the card If awaited, returns after animation completes.
Future<void> toggleCard() async => await state?.toggleCard();