A.A
A.A

Reputation: 4101

Dart Future and explicit resolve, reject

How can I explicitly resolve a future(or any other await-able type) in dart , just like javascript

Upvotes: 2

Views: 540

Answers (1)

A.A
A.A

Reputation: 4101

Completer class : A way to produce Future objects and to complete them later with a value or error.

Upvotes: 5

Related Questions