Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- getTasks() {
- print('///////////////Get tasks///////////////');
- _fireStore
- .document('Userss')
- .collection('$userUid/Tasks')
- .getDocuments().then((QuerySnapshot docs) {
- if (docs.documents.isNotEmpty) {
- boool = true;
- setState(() {
- tasks = docs.documents[0].data;
- });
- }
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement