Rect constructor

Rect([
  1. Object? x,
  2. Object? y,
  3. num? w,
  4. num? h,
])

Implementation

factory Rect([
  _i2.Object? x,
  _i2.Object? y,
  _i2.num? w,
  _i2.num? h,
]) =>
    _i4.callConstructor(
      _declaredRect,
      [
        x ?? _i5.undefined,
        y ?? _i5.undefined,
        w ?? _i5.undefined,
        h ?? _i5.undefined,
      ],
    );