close method
void
close([
- dynamic closeFn()?
Implementation
void close([dynamic Function()? closeFn]) {
if ('closed' == readyState || 'closing' == readyState) return;
readyState = 'closing';
doClose(closeFn);
}