getIdToken() returns a Future - you have to await it to actually get the token string: var token = await FirebaseAuth.instance.currentUser().
確定! 回上一頁