playRecording method
Implementation
Future<void> playRecording(String filePath) async {
if (_audioPlayer == null) {
throw Exception('RecordingManager not initialized');
}
final file = File(filePath);
if (!file.existsSync()) {
throw Exception('Recording file not found: $filePath');
}
await _audioPlayer!.play(DeviceFileSource(filePath));
}