FutureOfVoidToJSPromise extension
Conversions from Future to JSPromise where the Future does not return a value.
- on
-
- Future<
void>
- Future<
Properties
-
toJS
→ JSPromise<
JSAny?> -
Available on Future<
A JSPromise that either resolves once this Future completes or rejects with its error if it is a JS value and otherwise rejects with a JSWrappedPromiseError that wraps its Dart error value.void> , provided by the FutureOfVoidToJSPromise extensionno setter