copyWith method
PrinterDesignerPackageListModel
copyWith(
{ - String? id,
- String? label,
- String? prefix,
- String? urlString,
- String? value,
- double? positionX,
- double? positionY,
- double? height,
- double? width,
- String? section,
- String? type,
- bool? isSelected,
- String? customText,
- PrintDesignPackageProperties? properties,
})
Implementation
PrinterDesignerPackageListModel copyWith({
String? id,
String? label,
String? prefix,
String? urlString,
String? value,
double? positionX,
double? positionY,
double? height,
double? width,
String? section,
String? type,
bool? isSelected,
String? customText,
PrintDesignPackageProperties? properties,
}) {
return PrinterDesignerPackageListModel(
id: id ?? this.id,
type: type ?? this.type,
label: label ?? this.label,
prefix: prefix ?? this.prefix,
value: value ?? this.value,
imageUrl: imageUrl ?? this.imageUrl,
positionX: positionX ?? this.positionX,
positionY: positionY ?? this.positionY,
height: height ?? this.height,
width: width ?? this.width,
section: section ?? this.section,
isSelected: isSelected ?? this.isSelected,
customText: customText ?? this.customText,
properties: properties ?? this.properties,
);
}