handleUpdateLayer method

void handleUpdateLayer(
  1. Layer layer
)

Handles the update of a layer.

This method calls the onUpdateLayer callback with the provided layer and then calls handleUpdateUI.

Implementation

void handleUpdateLayer(Layer layer) {
  onUpdateLayer?.call(layer);
  handleUpdateUI();
}