📜  为什么我不能在 vscode 中使用 firebaseuser - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:48.249000             🧑  作者: Mango

代码示例1
Future signIn(String email, String password) async {
FirebaseUser user = await 
FirebaseAuth.instance.signInWithEmailAndPassword(
    email: email, password: password);
return user.uid;
}

Future createUser(String email, String password) async {
FirebaseUser user = await 
FirebaseAuth.instance.createUserWithEmailAndPassword(
    email: email, password: password);
return user.uid;
}