I have written my code by following this URL:
The image is successfully uploaded.
But now, how I can call getDownloadURL() function for current uploaded image from $imag variable. I have mentioned it below.
$image = app('firebase.storage')
->getBucket()
->upload($uploadedfile, ['name' => $firebase_storage_path . $file]);