setExtent(extent) {
    this.set(LayerProperty.EXTENT, extent);
  }
Set the extent at which the layer is visible.  If `undefined`, the layer
will be visible at all extents.
@param {import("../extent.js").Extent|undefined} extent The extent of the layer.
@observable
@api