copyWith method
ImageComparisonState
copyWith({
- List<
ImageComparisonData> ? history, - ImageComparisonData? current,
Implementation
ImageComparisonState copyWith({
List<ImageComparisonData>? history,
ImageComparisonData? current,
}) {
return ImageComparisonState(
history: history ?? this.history,
current: current ?? this.current,
);
}