FutureOfJSAnyToJSPromise extension - dart:js_interop library (original) (raw)

description

FutureOfJSAnyToJSPromise<T extends JSAny?> extension

Conversions from Future to JSPromise where the Future returns a value.

on

Properties

toJSJSPromise<T>

Available on Future<T>, provided by the FutureOfJSAnyToJSPromise extension

A JSPromise that either resolves with the result of the completedFuture or rejects with an object that contains its error.

no setter