byName<T> method

T? byName<T>(
  1. String name
)

Implementation

T? byName<T>(String name) {
  int? i = _fieldIndex![name];
  if (i == null) throw Exception("Field named $name not found in this row!");
  return this[i];
}