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, );