SocketNotifier constructor Null safety

SocketNotifier()