src/storage/FirebaseStorage.js
function _unwrapStorageSnapshot(storageSnapshot) {
    return {
      bytesTransferred: storageSnapshot.bytesTransferred,
      downloadURL: storageSnapshot.downloadURL,
      metadata: storageSnapshot.metadata,
      ref: storageSnapshot.ref,
      state: storageSnapshot.state,
      task: storageSnapshot.task,
      totalBytes: storageSnapshot.totalBytes
    };
  }
function _unwrapStorageSnapshot(storageSnapshot) {
    return {
      bytesTransferred: storageSnapshot.bytesTransferred,
      downloadURL: storageSnapshot.downloadURL,
      metadata: storageSnapshot.metadata,
      ref: storageSnapshot.ref,
      state: storageSnapshot.state,
      task: storageSnapshot.task,
      totalBytes: storageSnapshot.totalBytes
    };
  }
function _unwrapStorageSnapshot ( storageSnapshot ) { return { bytesTransferred : storageSnapshot . bytesTransferred , downloadURL : storageSnapshot . downloadURL , metadata : storageSnapshot . metadata , ref : storageSnapshot . ref , state : storageSnapshot . state , task : storageSnapshot . task , totalBytes : storageSnapshot . totalBytes } ; }
Take a Storage snapshot and unwrap only the needed properties.

@param snapshot
@returns An object containing the unwrapped values.
Take a Storage snapshot and unwrap only the needed properties .