any method

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

Check if any row matches predicate.

Implementation

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