skip to Main Content

Modular Firebase Admin Database

Is there or will there be modular Firebase Admin Database functions i.e. update(), get(), set(), ref() etc.? Maybe there is a workaround? Else I would have to code equal functions twice, like "craftBuilding()" on server (admin) and one for client.…

VIEW QUESTION

Flutter : Instance of Future<dynamic>

I am trying to print a value returned from a function to the screen. Function: calculation.dart: Future<dynamic> getTotalCost(BuildContext context) async { final user = Provider.of<Userr?>(context, listen: false); double totalCost = 0.0; QuerySnapshot snapshot = await FirebaseFirestore.instance .collection('myOrders') .doc(user?.uid) .collection('items') .get();…

VIEW QUESTION
Back To Top
Search