getLayer method

Layer? getLayer(
  1. String id
)

Returns the layer with id, if any.

Implementation

Layer? getLayer(String id) => _index[id];