mediaPlayerEnableRepeat method

Future<void> mediaPlayerEnableRepeat(
  1. int index,
  2. bool enable
)

Implementation

Future<void> mediaPlayerEnableRepeat(int index, bool enable) async {
  if (_mediaPlayers[index] == null) {
    return;
  }
  return _mediaPlayers[index].instance.enableRepeat(enable);
}