description

# DomRectReadOnly constructor

DomRectReadOnly([

1. num? x,
2. num? y,
3. num? width,
4. num? height,

])

## Implementation

    factory DomRectReadOnly([num? x, num? y, num? width, num? height]) {
      if (height != null) {
        return DomRectReadOnly._create_1(x, y, width, height);
      }
      if (width != null) {
        return DomRectReadOnly._create_2(x, y, width);
      }
      if (y != null) {
        return DomRectReadOnly._create_3(x, y);
      }
      if (x != null) {
        return DomRectReadOnly._create_4(x);
      }
      return DomRectReadOnly._create_5();
    }