copyWith method

Edge copyWith({
  1. double? yMin,
  2. double? yMax,
  3. double? x,
  4. double? slope,
})

Implementation

Edge copyWith({double? yMin, double? yMax, double? x, double? slope}) => Edge(
      yMin: yMin ?? this.yMin,
      yMax: yMax ?? this.yMax,
      x: x ?? this.x,
      slope: slope ?? this.slope,
    );