RestClient constructor Null safety

RestClient()