cellAs<T> method

T? cellAs<T>(
  1. int row,
  2. String column, {
  3. bool ignoreCase = false,
})

Returns the value at row / column cast to T, or null when absent or not assignable to T.

Implementation

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