我试图从防火墙中获取当前用户的数据,并将它们返回到用户模型中,但我得到了这个异常。有人知道怎么解决这个问题吗? await _userCollection.doc(currentUser.uid).get();
Map<String, dynamic> data = documentSnapshot.data as M
我是第一次接触angualr 2。我正在做一个小的练习应用程序。我有一个服务,当他们登录时,对用户进行身份验证。这是它的登录函数。login(email:string, password:string){
var loginrul="https://filing.herokuapp.com/api/v1/authlocalStorage.setItem('id_token',data.aut
我正在尝试创建一个带有颤振的ToDo来学习颤振。然后,类应该在ListView (使用ListView.builder)中显示这些数据,每个ToDo都是通过自定义的TodoItem Widget显示的。>' is not a subtype of type 'Map<String, bool>' of 'function result'
The relevant error-causing widget我以前使用<em
这里错了,/* Cal.frommap(documentSnapshot.data as Map<String,dynamic>) */我想要将数据从火基中提取到饼图中。第一部分是从firebase检索数据的小部件。但是我想知道Cal.frommap(documentSnapshot.data as Map<String,dynamic>)我做错了什么,它没有运行。as Map<String,dynamic>))