oneValue<T> method

T? oneValue<T>({
  1. required int row,
  2. Object col = 0,
})

Implementation

T? oneValue<T>({required int row, Object col = 0}) {
  if (col case int n) return this[row][n] as T?;
  return this[row][labelToIndex(col.toString())] as T?;
}