这是我的代码
重置链接被发送到目标电子邮件,没有错误。
我的问题是
我只想确认链接是否已发送
await _auth.sendPasswordResetEmail(email: email).then((val){
}).whenComplete(() {
Navigator.pop(context, true);
if (isLoading) {
setState(() {
isLoading = false;
});
}
}).catchError((error) {
print("ERRORRRRRRRR=> $error");
});
await _auth.sendPasswordResetEmail(email: email).then((val){
}).catchError((error) {
print("ERRORRRRRRRR=> $error");
});
Run Code Online (Sandbox Code Playgroud)