create method
Creates a table with specified name and data range.Adds it to the List Objects collection.
Implementation
ExcelTable create(String tableName, Range range) {
final Workbook book = range.worksheet.workbook;
range = _checkRange(range);
_checkOverlap(range);
final ExcelTableImpl result = ExcelTableImpl(
tableName,
range,
_tableCollection.length + 1,
);
result.name = _isNameExists(tableName);
result.dataRange = range;
result.index = ++book.maxTableIndex;
_tableCollection.add(result);
return result;
}