We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Client.ini()方法 String Function()? tokenGetter 这个入参应该定义成返回Future吧? Future<String> Function()? tokenGetter 要不然当tokenGetter声明成异步方法,加上async之后, 要把返回值定义成Future就不符合入参要求了, 然后自定义的tokenGetter内部就被限制使用await了
Client.ini()
String Function()? tokenGetter
Future<String> Function()? tokenGetter
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Client.ini()
方法String Function()? tokenGetter
这个入参应该定义成返回Future吧?
Future<String> Function()? tokenGetter
要不然当tokenGetter声明成异步方法,加上async之后,
要把返回值定义成Future就不符合入参要求了,
然后自定义的tokenGetter内部就被限制使用await了
The text was updated successfully, but these errors were encountered: