close method
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() {
if (isClosed) {
return;
}
addSlice(const <int>[], 0, 0, true);
}