tm constructor Null safety

tm()