runAssertions method

void runAssertions(
  1. int rowsLength,
  2. int columnsLength
)

Implementation

void runAssertions(int rowsLength, int columnsLength) {
  assert(contentCellWidth != null || columnWidths != null);
  assert(contentCellHeight != null || rowHeights != null);
  if (columnWidths != null) {
    assert(columnWidths!.length == columnsLength);
  }
  if (rowHeights != null) {
    assert(rowHeights!.length == rowsLength);
  }
}