copyWith method
Implementation
RectOp copyWith({String? id, Expr<bool>? when, List<Expr<DrawPaint>>? paint, String? hit, Expr<Vec>? rect}) =>
RectOp(id: id ?? this.id, when: when ?? this.when, extra: extra, paint: paint ?? this.paint, hit: hit ?? this.hit, rect: rect ?? this.rect);