ethanblake4 / dart_eval

Extensible Dart interpreter for Dart with full interop

Home Page:https://pub.dev/packages/dart_eval

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to define a future type when using bridge?

Zerolmntrix opened this issue · comments

BridgeTypeAnnotation(Bridge TypeReference.unresolved(Bridge Unresolved TypeReference('dart:core', 'Future'), []), false). 

Does not work

You can use CoreTypes.future for this.