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