Future<String> is of type Future hence you need to resolve the future, You can either await before printing or use . then() to resolve the Future .
Read moreFuture<String> is of type Future hence you need to resolve the future, You can either await before printing or use . then() to resolve the Future .
Read more