RegisterState constructor Null safety

RegisterState()