我收到以下错误:
A value of type 'Future<int>' can't be assigned to a variable of type 'int'
Run Code Online (Sandbox Code Playgroud)
它可能是另一种类型而不是int,但基本上模式是
A value of type 'Future<T>' can't be assigned to a variable of type 'T'
Run Code Online (Sandbox Code Playgroud)
所以...
Future?Future<T>?