When you call a function that returns void, you can't use await, so it seems you can't decide where the call finishes, and you can't post-process the return value with functions like then.
It seems the recommended way is to just use Future<void> to be safe in most cases
Difference Between void async and Future<void> async
Published 1 min read
Comments
Leaving a comment stores your nickname (or GitHub profile info). Privacy policy