Future cancel([Object reason ])

Source

Future cancel([Object reason]) {
  if (reason != null) {
    return _blink.BlinkReadableByteStream.instance
        .cancel_Callback_1_(this, reason);
  }
  return _blink.BlinkReadableByteStream.instance.cancel_Callback_0_(this);
}