fromList<T> static method

List<T?> fromList<T>(
  1. List<T> enumValues,
  2. List<String> valueList
)

Implementation

static List<T?> fromList<T>(List<T> enumValues, List<String> valueList) {
  return List<T?>.from(
      valueList.map<T?>((String item) => fromString(enumValues, item)));
}