toJson method
Implementation
Map<String, dynamic> toJson() => {
"isPaused": isPaused,
"numberOfFormatsInReceiveBuffer": numberOfFormatsInReceiveBuffer,
"isReadyToPrint": isReadyToPrint,
"isPaperOut": isPaperOut,
"isPartialFormatInProgress": isPartialFormatInProgress,
"isReceiveBufferFull": isReceiveBufferFull,
"labelLengthInDots": labelLengthInDots,
"isRibbonOut": isRibbonOut,
"isHeadTooHot": isHeadTooHot,
"labelsRemainingInBatch": labelsRemainingInBatch,
"isHeadOpen": isHeadOpen,
"isHeadCold": isHeadCold,
"printMode": printMode,
};