firstValue<T> method

T? firstValue<T>(
  1. String column, {
  2. bool ignoreCase = false,
})

Returns the first row's value for column, or null when empty.

Implementation

T? firstValue<T>(String column, {bool ignoreCase = false}) {
  final value = cell(0, column, ignoreCase: ignoreCase);
  return value is T ? value : null;
}