allowElement 方法

void allowElement(
  1. String tagName,
  2. {UriPolicy? uriPolicy,
  3. Iterable<String>? attributes,
  4. Iterable<String>? uriAttributes}
)

实现

void allowElement(String tagName,
    {UriPolicy? uriPolicy,
    Iterable<String>? attributes,
    Iterable<String>? uriAttributes}) {
  allowCustomElement(tagName,
      uriPolicy: uriPolicy,
      attributes: attributes,
      uriAttributes: uriAttributes);
}