registerElement2 method Null safety

  1. @deprecated
Function registerElement2(
  1. String type,
  2. [Map? options]
)

Implementation

@deprecated
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);
}