Promise<T> constructor
Promise<T> (
- void executor(
- dynamic resolve(
- T result
- Function reject
- dynamic resolve(
Implementation
external factory Promise(void Function(Function(T result) resolve, Function reject) executor);