remove method

bool remove(
  1. Audio audio
)

Implementation

bool remove(Audio audio) {
  final index = audios.indexOf(audio);
  final removed = audios.remove(audio);
  super.currentlyOpenedIn.forEach((playerEditor) {
    playerEditor.onAudioRemovedAt(index);
  });
  // here maybe stop the player if playing this index
  return removed;
}