Created method to retrieve an event from firestore only once

This commit is contained in:
Mariano Uvalle 2019-04-03 01:02:53 -06:00
parent a9de09efd6
commit 31cb7a0e89
5 changed files with 45 additions and 5 deletions

View file

@ -14,6 +14,8 @@ class FirebaseStorageProvider {
: _storage = storage ?? FirebaseStorage.instance.ref(),
_uuid = uuid ?? Uuid();
// TODO: Sanitize the folder argument, it's too complicated.
/// Uploads a given file to the firebase storage bucket.
///
/// It returns a [StorageUploadTask] which contains the status of the upload.