indexOf method

int indexOf(
  1. String name
)

Returns the column index for name, or -1 if not found.

Implementation

int indexOf(String name) => _indexByName[name] ?? -1;