WorksheetCollection constructor

WorksheetCollection(
  1. Workbook workbook, [
  2. int worksheetCount = 0
])

Create an instance of Worksheets

Implementation

WorksheetCollection(Workbook workbook, [int worksheetCount = 0]) {
  _book = workbook;
  _worksheets = <Worksheet>[];
  create(worksheetCount);
}