registerElement method Null safety

void registerElement(
  1. String tag,
  2. Type customElementClass,
  3. {String? extendsTag}
)

Implementation

void registerElement(String tag, Type customElementClass,
    {String? extendsTag}) {
  registerElement2(
      tag, {'prototype': customElementClass, 'extends': extendsTag});
}