A future is defined exactly like a function in dart, but instead of void you use Future. If you want to return a value from the Future then you pass it a type.
確定! 回上一頁