I think you'd need to use a Completer and complete it in the closure passed to onDone.