preventExtensions method

bool preventExtensions(
  1. Object target
)

Prevents the addition of new properties to an object.

Implementation

_i2.bool preventExtensions(_i2.Object target) => _i3.callMethod(
      this,
      'preventExtensions',
      [target],
    );