copyWith method

PreviewEditingValue copyWith({
  1. int? currentImage,
  2. List<String>? filesPath,
})

Implementation

PreviewEditingValue copyWith({int? currentImage, List<String>? filesPath}) {
  return new PreviewEditingValue(
      currentImage: currentImage ?? this.currentImage,
      filesPath: filesPath ?? this.filesPath);
}