how to create a data model for the table in flutter
the table is editable and it contain of => code/codename/price/kilograms code codename price kilograms I tried to create a data model but it was hard to connect it to the table
the table is editable and it contain of => code/codename/price/kilograms code codename price kilograms I tried to create a data model but it was hard to connect it to the table
I tried to delete firebase collection document and with that delete all the sub collections and remove from authentications also using flutter. here it is my database screenshot I want delete user document with those subcollection (books and pdfs). my…
As you might know, the Stripe payment extension for Firebase does the following: Creates a products collection that gets filled with products managed in Stripe. Creating a document under customers/{id1}/checkout_sessions/{id2} creates a payment in stripe. The document gets updated with…
Previously I used the following code to ensure Firebase was initialised ... typedef Callback = void Function(MethodCall call); void setupFirebaseAuthMocks([Callback? customHandlers]) { TestWidgetsFlutterBinding.ensureInitialized(); setupFirebaseCoreMocks(); ///todo fix this MethodChannelFirebase.channel.setMockMethodCallHandler((call) async { if (call.method == 'Firebase#initializeCore') { return [ { 'name': defaultFirebaseAppName,…
i have an app, and i have a list of tools in cloudfirestore firebase, but there are 200+ data in there so users have to select whatever tool they want to select, possibly users can select up to 20 tools…
I want to get the data objects (address, check_in, check_out) from the date which is in the nested node. My database goes by like this: ---`attendance` :{ | |---danielle:{ <---------- here is username, node of `attendance` | | | |---2023-04-08:…
I'm trying to create a component that users can add or remove galleries to using Firebase as my store inside a next.js 13 project. As I'm using React hooks I've set 'use client' at the top level of the file.…
likes[asdasd,sadsad] T here is a list of UIDs for each post, I determine the most likes according to the length of this list. I want this list to come in order from the longest to the shortest, what should I…
I am encountering an error when attempting to deploy a Firebase function. Despite deleting node_modules and package-lock.json, running npm install, and executing firebase deploy --only functions many times, the build process still fails with the following error: Build failed: [email protected]…
These are the values read by sensor Im trying to fetch these values from this database and use them in my application developed using flutter. But idk how. Any help is appreciated. language used is dart. I need to read…