copyWith method

StonePrinter copyWith({
  1. String? title,
  2. String? description,
  3. PrinterType? printerType,
  4. String? imageBase64,
})

Implementation

StonePrinter copyWith({String? title, String? description, PrinterType? printerType, String? imageBase64}) {
  return StonePrinter(title: title ?? this.title, description: description ?? this.description, printerType: printerType ?? this.printerType, imageBase64: imageBase64 ?? this.imageBase64);
}