copyWith method
ZebraPrinterStatus
copyWith(
{ - bool? isPaused,
- int? numberOfFormatsInReceiveBuffer,
- bool? isReadyToPrint,
- bool? isPaperOut,
- bool? isPartialFormatInProgress,
- bool? isReceiveBufferFull,
- int? labelLengthInDots,
- bool? isRibbonOut,
- bool? isHeadTooHot,
- int? labelsRemainingInBatch,
- bool? isHeadOpen,
- bool? isHeadCold,
- int? printMode,
})
Implementation
ZebraPrinterStatus copyWith({
bool? isPaused,
int? numberOfFormatsInReceiveBuffer,
bool? isReadyToPrint,
bool? isPaperOut,
bool? isPartialFormatInProgress,
bool? isReceiveBufferFull,
int? labelLengthInDots,
bool? isRibbonOut,
bool? isHeadTooHot,
int? labelsRemainingInBatch,
bool? isHeadOpen,
bool? isHeadCold,
int? printMode,
}) =>
ZebraPrinterStatus(
isPaused: isPaused ?? this.isPaused,
numberOfFormatsInReceiveBuffer: numberOfFormatsInReceiveBuffer ?? this.numberOfFormatsInReceiveBuffer,
isReadyToPrint: isReadyToPrint ?? this.isReadyToPrint,
isPaperOut: isPaperOut ?? this.isPaperOut,
isPartialFormatInProgress: isPartialFormatInProgress ?? this.isPartialFormatInProgress,
isReceiveBufferFull: isReceiveBufferFull ?? this.isReceiveBufferFull,
labelLengthInDots: labelLengthInDots ?? this.labelLengthInDots,
isRibbonOut: isRibbonOut ?? this.isRibbonOut,
isHeadTooHot: isHeadTooHot ?? this.isHeadTooHot,
labelsRemainingInBatch: labelsRemainingInBatch ?? this.labelsRemainingInBatch,
isHeadOpen: isHeadOpen ?? this.isHeadOpen,
isHeadCold: isHeadCold ?? this.isHeadCold,
printMode: printMode ?? this.printMode,
);