copyWith method
Implementation
Equipment copyWith({
int? id,
String? name,
String? photo,
int? width,
int? height,
int? length,
int? maxWeight,
int? maxRange,
int? maxVolume,
}) =>
Equipment(
id: id ?? this.id,
name: name ?? this.name,
photo: photo ?? this.photo,
width: width ?? this.width,
height: height ?? this.height,
length: length ?? this.length,
maxWeight: maxWeight ?? this.maxWeight,
maxRange: maxRange ?? this.maxRange,
maxVolume: maxVolume ?? this.maxVolume,
);