ondisconnect property
void Function(WebSocketInterface socket, bool error, int? closeCode, String? reason)?
ondisconnect
getter/setter pairoverride
Implementation
@override
void Function(WebSocketInterface socket, bool error, int? closeCode,
String? reason)? ondisconnect;