ShadowRoot createShadowRoot([Map shadowRootInitDict ])

Source

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