Метод isTagSupported
bool isTagSupported(Проверяет, поддерживает ли текущая платформа тип элемента SVG.
Тег должен быть допустимым именем тега элемента SVG.
Исходный код
static bool isTagSupported(String tag) {
var e = new SvgElement.tag(tag);
return e is SvgElement && !(e is UnknownElement);
}
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-svg/SvgElement/isTagSupported.html