stat constructor Null safety

stat()