stop method

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

Implementation

@override
Future<void> stop() async {
  _status = PlayerStatus.stopped;
  await player.stop();
  await notify(PlayerEvent.stop);
}