replay method

  1. @override
Future<void> replay()
override

Implementation

@override
Future<void> replay() async {
  await setPosition(Duration.zero);
  await notify(PlayerEvent.replay);
  await play();
}