async , await , then
You might need to import the dart async library if you are working in a local environment , but if you are using dartpad , don't worry about it
//Import dart async library with the following statement if you are
// working in a local environment, add the following line on top of each code
import "dart:async";then
chaining "then"
async , await
Last updated
Was this helpful?