cancel 方法

Future cancel(
  1. Object? reason
)

实现

Future cancel(Object? reason) =>
    promiseToFuture(JS("", "#.cancel(#)", this, reason));