How to check if current user is an admin in Flutter using Firestore and FirebaseAuth

前端 未结 0 997
抹茶落季
抹茶落季 2020-12-12 04:21

I want to check if my user is an admin and display a widget depending on that. My data is stored in Firestore such that there is a document in a \'users\' collection with a

相关标签:
回答
  • 消灭零回复
提交回复
热议问题