Sorry, this is simply not possible.
There are times when a function returns new Future.immediate(value)and maybe you can get a value, but:
- This is not one of these cases. Processes run completely asynchronously using the VM.
- The libv2 update has removed the ability to directly access the direct value.
, , Process.run(), , , , , , main(). , , - , .
Async , Dart Javascript, . , , , .., .