DOMRectReadOnly constructor

DOMRectReadOnly([
  1. num? x,
  2. num? y,
  3. num? width,
  4. num? height,
])

Implementation

factory DOMRectReadOnly([
  _i2.num? x,
  _i2.num? y,
  _i2.num? width,
  _i2.num? height,
]) =>
    _i4.callConstructor(
      _declaredDOMRectReadOnly,
      [
        x ?? _i6.undefined,
        y ?? _i6.undefined,
        width ?? _i6.undefined,
        height ?? _i6.undefined,
      ],
    );