dynamicToListEnum<T> static method

List<T> dynamicToListEnum<T>(
  1. dynamic list,
  2. List<T> values
)

Implementation

static List<T> dynamicToListEnum<T>(dynamic list, List<T> values) {
  return dynamicToList(list, (x) => values[x as int]);
}