downloadAudioWithProgress method
Download audio file with progress tracking
Implementation
Future<Map<String, dynamic>?> downloadAudioWithProgress({
required String audioUrl,
required String fileName,
required Function(int progress, int bytesDownloaded, int totalBytes) onProgress,
}) async {
return NotificationAudioPluginPlatform.instance.downloadAudioWithProgress(
audioUrl: audioUrl,
fileName: fileName,
onProgress: onProgress,
);
}