every method

bool every(
  1. bool test(
    1. CsvRow row
    )
)

Check if all rows match predicate.

Implementation

bool every(bool Function(CsvRow row) test) {
  final headerMap = buildHeaderMap();
  return rawData.every((r) => test(CsvRow(r, headerMap)));
}