public List<String> getPickListValuesIntoList(string objectName, string fie…
Below mentioned code helps in getting the record type id by the name. Pass the object…