remove method

bool remove(
  1. Audio audio
)

Implementation

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