setLooping method

Future<void> setLooping(
  1. bool looping
)

Implementation

Future<void> setLooping(bool looping) async {
  if (_isDisposed) return;
  _looping = looping;
  value = value.copyWith(isLooping: looping);
  final id = _textureId;
  if (id == null) return;
  await EatshotsVideoPlayerPlatform.instance.setLooping(id, looping);
}