ReadPipe constructor Null safety

ReadPipe()