doClose method

  1. @override
void doClose([
  1. dynamic callback()?
])
override

Implementation

@override
void doClose([callback]) {
  connect!.websocket?.close();
  if (callback != null) callback();
}