Hi Laveena,
The following are methods for DynamicPickList.
clone()
Makes a duplicate copy of the VisualEditor.DynamicPicklist object.
getDefaultValue()
Returns the picklist item that is set as the default value for the picklist.
getLabel(attributeValue)
Returns the user-facing label for a specified picklist value.
getValues()
Returns the list of picklist item values.
isValid(attributeValue)
Returns the valid state of the picklist item’s value. A picklist value is considered valid if it’s a part of any VisualEditor.DataRow in the VisualEditor.DynamicPickListRows returned by getValues().
Thanks,