registerElement2 method Null safety
Implementation
Function registerElement2(String type, [Map? options]) {
if (options != null) {
var options_1 = convertDartToNative_Dictionary(options);
return _registerElement2_1(type, options_1);
}
return _registerElement2_2(type);
}