copyWith method

StoryAreaPosition copyWith({
  1. double? xPercentage,
  2. double? yPercentage,
  3. double? widthPercentage,
  4. double? heightPercentage,
  5. double? rotationAngle,
  6. double? cornerRadiusPercentage,
})

Implementation

StoryAreaPosition copyWith({
  double? xPercentage,
  double? yPercentage,
  double? widthPercentage,
  double? heightPercentage,
  double? rotationAngle,
  double? cornerRadiusPercentage,
}) => StoryAreaPosition(
  xPercentage: xPercentage ?? this.xPercentage,
  yPercentage: yPercentage ?? this.yPercentage,
  widthPercentage: widthPercentage ?? this.widthPercentage,
  heightPercentage: heightPercentage ?? this.heightPercentage,
  rotationAngle: rotationAngle ?? this.rotationAngle,
  cornerRadiusPercentage:
      cornerRadiusPercentage ?? this.cornerRadiusPercentage,
);