ChartCollection constructor

ChartCollection(
  1. Worksheet worksheet
)

Create a instance of ChartCollection class.

Workbook workbook = Workbook();
Worksheet sheet = workbook.worksheets[0];
ChartCollection charts = ChartCollection(sheet);

Implementation

ChartCollection(Worksheet worksheet) {
  _worksheet = worksheet;
  _innerList = <Chart>[];
}