ondisconnect property

void Function(WebSocketInterface socket, bool error, int? closeCode, String? reason)? ondisconnect
getter/setter pair

Implementation

void Function(WebSocketInterface socket, bool error, int? closeCode,
    String? reason)? ondisconnect;