dispose method
void
dispose()
Should be called to make sure the connection is closed and resources are freed (sockets/channels).
Implementation
void dispose() => finish();
Should be called to make sure the connection is closed and resources are freed (sockets/channels).
void dispose() => finish();