stop method
Stops the Player. Unloads the current Media or Playlist from the Player. This method is similar to dispose but does not release the resources & Player is still usable.
Implementation
Future<void> stop() async {
return platform?.stop();
}