library; | |
import self as self; | |
import "dart:async" as asy; | |
import "dart:core" as core; | |
static method asyncString() → asy::Future<core::String> async { | |
return "foo"; | |
} | |
static method main() → dynamic async { | |
core::String str = await self::asyncString(); | |
} |