filterThroughCriteria method
Implementation
@override
BaseCSVFile filterThroughCriteria(LoadCriterion criteria) {
return MapCSVFile(
actualHeader: header,
records: records
.where(
(candidate) => criteria.criterion(
criteria.requestedFields
.map((e) => candidate[e] ?? '')
.toList(growable: false),
),
)
.toList(growable: false),
);
}