installing firebase tools doesn’t work on mac

I install firebase-tools with npm
but terminal can’t find firebase-tools :(…
also I tried auto installing script “curl -sL https://firebase.tools | bash” but this also give me this error “This tool has encountered an error.”
what should i do?after I installed firebase tools
after typed command

Go to Source
Author: Dean97K

Saving Image Firebase (Flutter)

how are you?
I’m having a boring problem, I’m a beginner in mobile development and also a beginner with firebase.
I’m having a problem saving an image in firebase and recovering it, when I fill out the form and select the image with image picker it just doesn’t appear and the firebase returns me null.

sorry to put the code in pastebin, I can’t put long codes here in the stack and I don’t want to pollute the forum

FishManager Class --- https://pastebin.com/HQZaji0H

Trophy Class --- https://pastebin.com/ggpbG4Tz

FishForm Class --- https://pastebin.com/Dk8udGK0

Go to Source
Author: Erik Mendes