reject static method

PromiseJsImpl reject(
  1. dynamic error
)

Implementation

external static PromiseJsImpl reject(error);