If you want to add a delaay of 1 minute and 10 seconds, use Duration(minutes: 1, seconds: 10) .
Read moreHow do you wait for the Future in darts?
To prevent multiple awaits, chaining futures in . then(), you can simply use Future. wait([]) that returns an array of results you were waiting for. If any of those Futures within that array fails, Future.
Read moreHow do you wait for a Future in Flutter?
According to the flutter docs, Future. wait() : Returns a future which will complete once all the provided futures have completed, either with their results, or with an error if any of the provided futures fail. In the JavaScript world, this is achievable with Promise.28 Eki 2020
Read more