LineOp constructor

const LineOp({
  1. String? id,
  2. Expr<bool>? when,
  3. Json extra = const {},
  4. List<Expr<DrawPaint>> paint = const [],
  5. String? hit,
  6. Expr<Vec>? p1,
  7. Expr<Vec>? p2,
})

Implementation

const LineOp({super.id, super.when, super.extra, super.paint, super.hit, this.p1, this.p2});