OnWSDisconnect typedef Null safety

OnWSDisconnect = void Function()

Implementation

typedef OnWSDisconnect = void Function();