isTagSupported method Null safety
- String tag
Checks to see if the tag name is supported by the current platform.
The tag should be a valid HTML tag name.
Implementation
static bool isTagSupported(String tag) {
var e = _ElementFactoryProvider.createElement_tag(tag, null);
return e is Element && !(e is UnknownElement);
}