DocumentOrShadowRoot constructor
DocumentOrShadowRoot({})
Implementation
factory DocumentOrShadowRoot({
_i3.Element? activeElement,
_i2.List<_i3.CSSStyleSheet>? adoptedStyleSheets,
_i3.Element? fullscreenElement,
_i3.Element? pictureInPictureElement,
_i3.Element? pointerLockElement,
_i3.StyleSheetList? styleSheets,
_i3.Element? Function(
_i2.num,
_i2.num,
)? elementFromPoint,
_i2.List<_i3.Element> Function(
_i2.num,
_i2.num,
)? elementsFromPoint,
_i2.List<_i3.Animation> Function()? getAnimations,
}) =>
DocumentOrShadowRoot._(
activeElement: activeElement ?? _i6.undefined,
adoptedStyleSheets: adoptedStyleSheets,
fullscreenElement: fullscreenElement ?? _i6.undefined,
pictureInPictureElement: pictureInPictureElement ?? _i6.undefined,
pointerLockElement: pointerLockElement ?? _i6.undefined,
styleSheets: styleSheets ?? _i6.undefined,
elementFromPoint: elementFromPoint == null
? null
: _i4.allowInterop((
p0,
p1,
) =>
() =>
elementFromPoint(
p0,
p1,
) ??
_i6.undefined),
elementsFromPoint: elementsFromPoint == null
? null
: _i4.allowInterop(elementsFromPoint),
getAnimations:
getAnimations == null ? null : _i4.allowInterop(getAnimations),
);