registerElement2 method Null safety

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

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