Flutter, keep track of your receipts on Firebase! (2nd part)

Setup

The class

onPressed: () => Navigator.pushNamed(context,router.UPLOAD_IMAGE_FIR_STORAGE
await FirebaseFirestore.instance.collection("images").doc("doc_$timestamp").set({"url": downloadUrl,"gsc": gcsReference,"name": "$fileName _$timestamp.pdf","timestamp": "$timestamp","status": "pending"}).then((value) => print("Document added"))

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store