setSemanticContent method

void setSemanticContent(
  1. int index,
  2. int value
)

Implementation

void setSemanticContent(int index, int value) {
  final attributes = getAttributes(index);
  setAttributes(
    index,
    (attributes & ~CellAttr.semanticMask) | (value & CellAttr.semanticMask),
  );
}