copyWith method

MaskPosition copyWith({
  1. MaskPoint? point,
  2. double? xShift,
  3. double? yShift,
  4. double? scale,
})

Implementation

MaskPosition copyWith({
  MaskPoint? point,
  double? xShift,
  double? yShift,
  double? scale,
}) =>
    MaskPosition(
      point: point ?? this.point,
      xShift: xShift ?? this.xShift,
      yShift: yShift ?? this.yShift,
      scale: scale ?? this.scale,
    );