firstValue<T> method

T? firstValue<T>([
  1. Object col = 0
])

key is int index , OR String key

Implementation

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