setElementLocked static method

EditorEdit setElementLocked(
  1. ElementId id,
  2. bool locked
)

Implementation

static EditorEdit setElementLocked(rt.ElementId id, bool locked) {
  return updateNode(id, (node) => node.withLocked(locked));
}