removePlaceholder method

void removePlaceholder(
  1. String placeholder
)

Removes the given placeholder from the visited placeholders set.

This is typically used when a placeholder is resolved successfully.

Implementation

void removePlaceholder(String placeholder) {
  Assert.state(visitedPlaceholders != null, "Visited placeholders must not be null");
  visitedPlaceholders!.remove(placeholder);
}