MessageSocket typedef Null safety

MessageSocket = void Function(dynamic val)

Signature for SocketNotifier.addMessages.

Implementation

typedef MessageSocket = void Function(dynamic val);