clearLineDecorationLayer method

bool clearLineDecorationLayer(
  1. String layerKey
)

Implementation

bool clearLineDecorationLayer(String layerKey) {
  if (!_lineDecorationLayers.containsKey(layerKey)) {
    return false;
  }
  _lineDecorationLayers.remove(layerKey);
  _syncImplicitLineDecorations();
  return true;
}