setLooping method
Sets whether the video should loop.
Implementation
Future<void> setLooping(bool looping) async {
final id = _playerId;
if (id == null) return;
await _platform.setLooping(id, looping);
value = value.copyWith(isLooping: looping);
}