Open mishubham opened 5 years ago
yeah I get the same error
do you have the solution to this problem?, i get the same error now
String downloadUrl = await uploadTask.lastSnapshot.ref.getDownloadURL(); _sendMessage( messageText: null, imageUrl: downloadUrl); }),
thanks
Uri downloadUrl = (await uploadTask.future).downloadUrl;
in that the uploadTask.future is not working. Or they said the future getter is not define for the StorageUploadTask