PrinterStatus constructor
PrinterStatus({})
PrinterStatus constructor
Implementation
PrinterStatus({bool isConnected = false, bool isPaperOut = false, bool isPaused = false, bool isHeadOpen = false, this.temperature = '0', this.errorMessage})
: connectionState = PrinterConnectionState.fromBool(isConnected),
paperState = PaperState.fromBool(isPaperOut),
pauseState = PauseState.fromBool(isPaused),
headState = HeadState.fromBool(isHeadOpen);