selectRangeValues method

List<List?> selectRangeValues(
  1. CellIndex start, {
  2. CellIndex? end,
})

returns 2-D dynamic List of the sheet elements in that range.

Implementation

List<List<dynamic>?> selectRangeValues(CellIndex start, {CellIndex? end}) {
  var _list =
      (end == null ? selectRange(start) : selectRange(start, end: end));
  return _list
      .map((List<Data?>? e) =>
          e?.map((e1) => e1 != null ? e1.value : null).toList())
      .toList();
}