close method
Closes the sink.
Calling this method more than once is allowed, but does nothing.
Implementation
@override
void close() {
while (decoder._consumers.isNotEmpty) {
decoder._consumers.removeLast().close();
}
onClose();
}
Closes the sink.
Calling this method more than once is allowed, but does nothing.
@override
void close() {
while (decoder._consumers.isNotEmpty) {
decoder._consumers.removeLast().close();
}
onClose();
}