play method

Future play(
  1. Animation animation
)

Implementation

Future play(Animation animation) async {
  beginAnimation(animation);
  await progressThroughAnimation(animation);
  finishAnimation(animation);
}