ShadowRoot createShadowRoot([Map shadowRootInitDict])

Source

ShadowRoot createShadowRoot([Map shadowRootInitDict]) {
  if (shadowRootInitDict == null) {
    return wrap_jso(_blink.BlinkElement.instance.createShadowRoot_Callback_0_(unwrap_jso(this)));
  }
  if ((shadowRootInitDict is Map)) {
    return wrap_jso(_blink.BlinkElement.instance.createShadowRoot_Callback_1_(unwrap_jso(this), convertDartToNative_Dictionary(shadowRootInitDict)));
  }
  throw new ArgumentError("Incorrect number or type of arguments");
}