copyWith method
Implementation
Borders copyWith({
Optional<double?>? snapping,
bool? isLg,
String? value,
double? min,
double? max,
Optional<double?>? currentMin,
Optional<double?>? currentMax
}) {
return Borders(
snapping: snapping != null ? snapping.value : this.snapping,
isLg: isLg ?? this.isLg,
value: value ?? this.value,
min: min ?? this.min,
max: max ?? this.max,
currentMin: currentMin != null ? currentMin.value : this.currentMin,
currentMax: currentMax != null ? currentMax.value : this.currentMax
);
}