This function sets data to an object by:
1. Checking if the data is an array or object
2. Mapping the data to get class details
3. Setting values to the object based on whether the data is an array, custom class, or date type.
This function sets data to an object by:
1. Checking if the data is an array or object
2. Mapping the data to get class details
3. Setting values to the object based on whether the data is an array, custom class, or date type.
This function sets data to an object by:
1. Checking if the data is an array or object
2. Mapping the data to get class details
3. Setting values to the object based on whether the data is an array, custom class, or date type.