buildPriorities static method
Implementation
static List<num>? buildPriorities(List? rawData) {
return rawData?.map((e) {
if (e is int || e is num) return e as num;
if (e is double) return e.toInt();
return num.parse(e);
}).toList();
}