Answers for "Undefined class 'StorageReference'"

0

Undefined class 'StorageReference'

FirebaseStorage storage = FirebaseStorage.instance;
Reference ref = storage.ref().child("image1" + DateTime.now().toString());
UploadTask uploadTask = ref.putFile(_image1);
uploadTask.then((res) {
   res.ref.getDownloadURL();
});
Posted by: Guest on January-02-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language