previous method

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

Moves to the previous source, keeping the play state.

Implementation

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