Created
March 24, 2020 09:12
-
-
Save hamza39460/4ecf3663c3f89db1a45e054ecd6bcbcf to your computer and use it in GitHub Desktop.
Add Payment Details to Firestore flutter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void addPaymentDetailsToFirestore() { | |
widget._db.collection("Users").document(widget.user.email).collection("Payments").add({ | |
"currency":"USD", | |
'amount':'100', | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment