setLooping method
Sets whether the track restarts on reaching its end.
Implementation
Future<void> setLooping(bool loop) async {
await _send(
'setLooping',
(backend, handle) => backend.setLooping(handle, loop),
);
_setValue = _value.copyWith(isLooping: loop);
}