pauseAll static method

void pauseAll()

pauseAll pause all the players

Implementation

static void pauseAll() {
  for (var player in players) {
    if (!player.disposed) {
      player.pause();
    }
  }
}