setLooping method

bool setLooping(
  1. bool looping
)

Set whether the player should loop the media.

Implementation

bool setLooping(bool looping) {
  if (!disposed && looping != this.looping.value) {
    this.looping.value = looping;
    if (id.value != null) {
      _setLooping();
    }
    return true;
  }
  return false;
}