columnAsIterable<T> method
Returns an iterable over the records of a column sliced as per start
and end.
Implementation
Iterable<T> columnAsIterable<T>(String colName, {int start = 0, int? end}) =>
sublist(start, end).map((row) => row[columnIndex(colName)]).cast<T>();