RowEntity constructor
RowEntity({
- required List<
ColumnEntity> columns, - List<
CellEntity> ? cells,
Implementation
RowEntity({
required List<ColumnEntity> columns,
List<CellEntity>? cells,
}) {
if (cells != null) {
this.cells = cells;
} else {
this.cells = columns
.map((e) => CellEntity(value: null, columnInfo: e))
.toList(growable: false);
}
this._columns = columns;
}