title: How to send images to URL type to FireStore
body: <p>When I upload image to firestore sending photo path to database. But I need to send URL type for list in app. How can I convert photo paths to URL? <br />
  <a href="https://i.stack.imgur.com/v9Lh2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/v9Lh2.png" alt="dbimg" /></a></p>
  <pre><code>Future uploadFile() async {
  if (_photo == null) return;
  final fileName = (_photo!.path);
  final destination = 'files/$fileName';
  
  try {
    final ref =
        firebase_storage.FirebaseStorage.instance.ref().child('feedPhotos/');
    await ref.putFile(_photo!);
  } catch (e) {
    print('error occured');
  }
  </code></pre>
  <p>}</p>
  <pre><code>Tweet tweet = Tweet(
  id: id,
  text: _tweetText,
  image: _photo.toString(),
  authorId: postID.toString(),
  likes: 0,
  retweets: 0,
  timestamp: Timestamp.fromDate(DateTime.now(),
   ),
  );
  </code></pre>