1. @DomName('UnderlyingSourceBase.cancel')
  2. @DocsEditable()
  3. @Experimental()
Future cancel(Object reason)

Source

@DomName('UnderlyingSourceBase.cancel')
@DocsEditable()
@Experimental() // untriaged
Future cancel(Object reason) =>
    convertNativePromiseToDartFuture(_blink.BlinkUnderlyingSourceBase.instance
        .cancel_Callback_1_(this, reason));