protectTable method

GameTable protectTable([
  1. Channel? id
])

Implementation

GameTable protectTable([Channel? id]) {
  final protectedCells =
      table.cells.map((key, value) => MapEntry(key, protectCell(key, id)));
  return table.copyWith.cellsBox(content: protectedCells);
}