next method

  1. @override
Future<RadioPlayerState> next()
override

Moves to the next source, keeping the play state.

Implementation

@override
Future<RadioPlayerState> next() {
  calls.add('next');
  _step(1);
  return _reply(_state);
}