isComplete method
Returns whether all required columns have been mapped to a CSV header.
Implementation
bool isComplete(List<TCsvColumn> expectedColumns) {
for (final col in expectedColumns) {
if (col.isRequired && (mapping[col.key] == null || mapping[col.key]!.isEmpty)) {
return false;
}
}
return true;
}