Reputation: 4101
How can I explicitly resolve a future(or any other await-able type) in dart , just like javascript
Upvotes: 2
Views: 540
Reputation: 4101
Completer class : A way to produce Future objects and to complete them later with a value or error.
Upvotes: 5