FutureOfJSAnyToJSPromise<T extends JSAny?> extension
Conversions from Future to JSPromise where the Future returns a value.
- on
-
- Future<
T>
- Future<
Properties
-
toJS
→ JSPromise<
T> -
Available on Future<
A JSPromise that either resolves with the result of the completed Future or rejects with its error if it is a JS value and otherwise rejects with a JSWrappedPromiseError that wraps its Dart error value.T> , provided by the FutureOfJSAnyToJSPromise extensionno setter