play method

  1. @override
Future<PlayResponse> play(
  1. PlayRequest request
)
override

Plays the current audio source at the current index and position.

Implementation

@override
Future<PlayResponse> play(PlayRequest request) async {
  if (_playing) return PlayResponse();
  _playing = true;
  await _play();
  return PlayResponse();
}