writeCell method

void writeCell(
  1. int r,
  2. int c,
  3. String raw
)

Implementation

void writeCell(int r, int c, String raw) {
  final col = columns[c];
  if (col.isReadOnly) return;
  final v = col.normalize?.call(raw) ?? raw;
  final next = List<T>.from(_rows);
  next[r] = col.setValue!(next[r], v);
  _apply(next);
}