update method

void update(
  1. void build(
    1. BrownfieldWidgetPatch patch
    )
)

Applies a typed property patch to the selected widget.

Convenience shorthand for editor.update(selection, build).

Implementation

void update(void Function(BrownfieldWidgetPatch patch) build) {
  editor.update(this, build);
}