insertAdjacentElement property

Element? Function(InsertPosition, Element) get insertAdjacentElement

Implementation

_i3.Element? Function(
  _i3.InsertPosition,
  _i3.Element,
) get insertAdjacentElement => (
      _i3.InsertPosition p0,
      _i3.Element p1,
    ) =>
        _i4.callMethod(
          _i4.getProperty(
            this,
            'insertAdjacentElement',
          ),
          r'call',
          [
            this,
            p0.name,
            p1,
          ],
        );
set insertAdjacentElement (Element? value(InsertPosition, Element))

Implementation

set insertAdjacentElement(
    _i3.Element? Function(
      _i3.InsertPosition,
      _i3.Element,
    ) value) {
  _i4.setProperty(
    this,
    'insertAdjacentElement',
    _i4.allowInterop((
      p0,
      p1,
    ) =>
        () =>
            value(
              p0,
              p1,
            ) ??
            _i6.undefined),
  );
}