hasData method

Future<bool> hasData()

Implementation

Future<bool> hasData() async {
  if (_sheet == null) await _connect();
  final lastRow = await _table.cells.lastRow(
    fromColumn: 1,
    length: 1,
    inRange: true,
  );
  if (lastRow == null) return false;
  return lastRow.isNotEmpty;
}