copyWith method

ExposureValue copyWith({
  1. double? minAvailableExposure,
  2. double? maxAvailableExposure,
  3. double? currentExposure,
})

Implementation

ExposureValue copyWith({
  double? minAvailableExposure,
  double? maxAvailableExposure,
  double? currentExposure,
}) {
  return ExposureValue(
    minAvailableExposure: minAvailableExposure ?? this.minAvailableExposure,
    maxAvailableExposure: maxAvailableExposure ?? this.maxAvailableExposure,
    currentExposure: currentExposure ?? this.currentExposure,
  );
}