[firebase_storeage] Add check for file existence #5459
Unanswered
mozochek
asked this question in
Feature request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It would be nice if
Reference
which returns fromFirestoreStorage.instance.ref('path')
had some method for checking file existence. For example,Future<bool> ref.isExists()
. Or make return types of getters (getData(), getDownloadURL(), getMetadata()
) ofReference
nullable and do not rethrowStorageException
.current console output
Beta Was this translation helpful? Give feedback.
All reactions