define method
      
void
define(
    
    
- String name,
- CustomElementConstructor constructor, [
- ElementDefinitionOptions? options
Implementation
void define(String name, CustomElementConstructor constructor,
        [ElementDefinitionOptions? options]) =>
    js_util.callMethod(
        this, 'define', [name, allowInterop(constructor), options]);