OnWSData typedef Null safety

OnWSData = void Function(dynamic data)

Implementation

typedef OnWSData = void Function(dynamic data);