RestService constructor Null safety

RestService()