cancel method

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);
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/ReadableByteStreamReader/cancel.html