PropertyDescriptor constructor

PropertyDescriptor({
  1. bool? configurable,
  2. bool? enumerable,
  3. dynamic value,
  4. bool? writable,
  5. dynamic get()?,
  6. void set([
    1. dynamic
    ])?,
})

Implementation

factory PropertyDescriptor({
  _i2.bool? configurable,
  _i2.bool? enumerable,
  _i2.dynamic value,
  _i2.bool? writable,
  _i2.dynamic Function()? get,
  void Function([_i2.dynamic])? set,
}) =>
    PropertyDescriptor._(
      configurable: configurable,
      enumerable: enumerable,
      value: value,
      writable: writable,
      get: get == null ? null : _i6.allowInterop(get),
      set: set == null ? null : _i6.allowInterop(set),
    );