columnIndex method

int? columnIndex(
  1. String column, {
  2. bool ignoreCase = false,
})

Returns the zero-based index of column, or null when absent.

When ignoreCase is true, matching is case-insensitive.

Implementation

int? columnIndex(String column, {bool ignoreCase = false}) =>
    ignoreCase ? _folded[column.toLowerCase()] : _exact[column];