sheet method

Future<Spreadsheet> sheet(
  1. String name
)

Implementation

Future<Spreadsheet> sheet(String name) async {
  final sheet = excel.tables[name];
  if (sheet == null) {
    Show.error("Sheet $name not found");
    throw Exception("Sheet $name not found");
  }
  return Spreadsheet(sheet, this);
}