findLayer method

Layer? findLayer(
  1. String name
)

Finds a layer with a given name. @param {string} name @return {Layer} a Layer with the given name, or null if no such layer was found. @see #addLayerBefore @see #addLayerAfter @see #removeLayer

Implementation

_i3.Layer? findLayer(_i2.String name) => _i4.callMethod(
      this,
      'findLayer',
      [name],
    );