How can I download a file from firebase firestore after I push the url from firebase storage to firebase firestore? I try to display the list of audio file. But how to download the file from firestore?
Future<List<DocumentSnapshot>> getAudioFile() async {
Map<String, dynamic> audios = {
"audio": audio,
};
var docRef = FirebaseFirestore.instance.collection("Audio");
QuerySnapshot query = await docRef.limit(10).get();
return query.docs;
}