CloseSocket typedef Null safety

CloseSocket = void Function(Close)

Signature for SocketNotifier.addCloses.

Implementation

typedef CloseSocket = void Function(Close);