getOwnPropertyDescriptor property

PropertyDescriptor? Function(Object, [dynamic]) get getOwnPropertyDescriptor

Implementation

static _i3.PropertyDescriptor? Function(
  _i2.Object, [
  _i2.dynamic,
]) get getOwnPropertyDescriptor => (
      _i2.Object p1, [
      _i2.dynamic p0,
    ]) =>
        _i6.callMethod(
          _i6.getProperty(
            _i7.target0,
            'getOwnPropertyDescriptor',
          ),
          r'call',
          [
            _i7.target0,
            p0,
            p1,
          ],
        );
set getOwnPropertyDescriptor (PropertyDescriptor? value(Object, [dynamic]))

Implementation

static set getOwnPropertyDescriptor(
    _i3.PropertyDescriptor? Function(
      _i2.Object, [
      _i2.dynamic,
    ]) value) {
  _i6.setProperty(
    _i7.target0,
    'getOwnPropertyDescriptor',
    _i6.allowInterop((
      p0,
      p1,
    ) =>
        () =>
            value(
              p0,
              p1,
            ) ??
            _i5.undefined),
  );
}