ParseCloseCallback typedef
Callback invoked when iteration or stream conversion closes.
In chunked stream parsing (ParseDecoderSink), position is the global
stream offset reached and buffer is '' once carried data has been
drained.
Implementation
typedef ParseCloseCallback = void Function({
required int position,
required String buffer,
});