pause method
Pause
Implementation
Future<bool> pause() async {
final success = await _service.pause(
_state.selectedPlayer.isNotEmpty ? _state.selectedPlayer : null,
);
if (!success) {
_updateState(_state.copyWith(errorMessage: 'Failed to pause'));
}
return success;
}