getOwnPropertyDescriptor property

PropertyDescriptor? Function(T, Object) get getOwnPropertyDescriptor

Implementation

_i3.PropertyDescriptor? Function(
  T,
  _i2.Object,
) get getOwnPropertyDescriptor => (
      T p0,
      _i2.Object p1,
    ) =>
        _i4.callMethod(
          _i4.getProperty(
            this,
            'getOwnPropertyDescriptor',
          ),
          r'call',
          [
            this,
            p0,
            p1,
          ],
        );
set getOwnPropertyDescriptor (PropertyDescriptor? value(T, Object))

Implementation

set getOwnPropertyDescriptor(
    _i3.PropertyDescriptor? Function(
      T,
      _i2.Object,
    ) value) {
  _i4.setProperty(
    this,
    'getOwnPropertyDescriptor',
    _i4.allowInterop((
      p0,
      p1,
    ) =>
        () =>
            value(
              p0,
              p1,
            ) ??
            _i5.undefined),
  );
}