Promise constructor
Promise(
- dynamic executor(
- dynamic resolve(
- dynamic value
- dynamic reject(
- dynamic error
- dynamic resolve(
Implementation
external factory Promise(
Function(dynamic Function(dynamic value) resolve,
dynamic Function(dynamic error) reject)
executor);