HGridBuilder.fromGrid constructor

HGridBuilder.fromGrid(
  1. HGrid grid
)

Implementation

HGridBuilder.fromGrid(HGrid grid) {
  _meta.addDict(grid.meta);
  _cols.addAll(grid.cols.map((col) => BCol.fromHCol(col)));
  _rows.addAll(grid.map((row) => row.values.toList()));
}