OnWSConnect typedef Null safety

OnWSConnect = void Function()

Implementation

typedef OnWSConnect = void Function();