Skip to content

Instantly share code, notes, and snippets.

@hamza39460
Created March 24, 2020 09:12
Show Gist options
  • Save hamza39460/4ecf3663c3f89db1a45e054ecd6bcbcf to your computer and use it in GitHub Desktop.
Save hamza39460/4ecf3663c3f89db1a45e054ecd6bcbcf to your computer and use it in GitHub Desktop.
Add Payment Details to Firestore flutter
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