toDart property - JSPromiseToFuture extension - dart:js_interop library (original) (raw)
Future<T> gettoDart
A Future that either completes with the result of the resolvedJSPromise or propagates the error that the JSPromise rejected with.
If the JSPromise is rejected with a null or undefined value, aNullRejectionException will be thrown.
Implementation
external Future<T> get toDart;