close method

  1. @override
void close()
override

Closes the sink.

This signals the end of the chunked conversion. This method is called when converters are used as StreamTransformer's.

Implementation

@override
void close() {
  addSlice(const [], 0, 0, true);
}