setLoop abstract method
Sets the loop policy (off, current file, or whole playlist). Turned on once the queue has ended (PlaybackState.completed), it rewinds: Loop.file seeks the track to its start, Loop.playlist moves to the first entry, and both stay paused. Call play to start again.
Implementation
Future<void> setLoop(Loop loop);