finalize method

  1. @override
ByteStream finalize ()
override

Freezes all mutable fields other than stream and returns a single-subscription ByteStream that emits the data being written to sink.

Implementation

@override
ByteStream finalize() {
  super.finalize();
  return ByteStream(_controller.stream);
}