copyWith method
Implementation
PrintModel copyWith({
String? printRefNo,
bool? savePrintData,
List<PrintRowModel>? data,
}) {
return PrintModel(
printRefNo: printRefNo ?? this.printRefNo,
savePrintData: savePrintData ?? this.savePrintData,
data: data ?? this.data,
);
}