Future cancel([Object reason ])

Source

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