onClose method

  1. @override
dynamic onClose(
  1. OnClose callback
)
override

Called when a connection is closed

Implementation

@override
onClose(OnClose callback) {
  _onClose = callback;
}