cancel method

Future<void> cancel([
  1. dynamic reason
])

Implementation

Future<void> cancel([dynamic reason]) =>
    js_util.promiseToFuture(js_util.callMethod(this, 'cancel', [reason]));