play method

Future<void> play()

Starts playing the video.

If the video is at the end, this method starts playing from the beginning.

Implementation

Future<void> play() async {
  await controller.play();
}