How do we make sure “adding user details to ‘user’ collection on createUserWithEmailAndPassword success” is ATOM in Firebase (Flutter)
I am trying to create a user in use collection on Firestore, once Firebase createUserWithEmailAndPassword is successful. I want to make this atomic like deleting the created user(how). There are alternatives like cloud_functions, but I want to do it without those.