Create Contentment DataList in Code

Hello, I’m currently trying to create a Contentment DataType within my application.

The following code creates the DataType:

if(dropdownDataType is null)
{
    var parentId = 1289;

    var dataTypeId = Guid.Parse("191b7c04-a8ee-4e20-bb7d-f49d27172926");
    var editor = propertyEditors.FirstOrDefault(x => x.Alias.Equals("Umbraco.Community.Contentment.DataList"));
      
    var dataType = new DataType(editor, editorJsonSerializer, parentId)
    {
        Name = "Dropdown",
        Key = dataTypeId
    };
              
    dataTypeService.Save(dataType);
}

But how can I set the DataSource and ListEditor in code?

The DataSource is going to be an enum.