bool isTagSupported(
String tag
)

Checks to see if the SVG element type is supported by the current platform.

The tag should be a valid SVG element tag name.

Source

/**
 * Checks to see if the SVG element type is supported by the current platform.
 *
 * The tag should be a valid SVG element tag name.
 */
static bool isTagSupported(String tag) {
  var e = new SvgElement.tag(tag);
  return e is SvgElement && !(e is UnknownElement);
}