ZebraPrinterStatus.fromJson constructor

ZebraPrinterStatus.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ZebraPrinterStatus.fromJson(Map<String, dynamic> json) => ZebraPrinterStatus(
  isPaused: json["isPaused"],
  numberOfFormatsInReceiveBuffer: json["numberOfFormatsInReceiveBuffer"]??0,
  isReadyToPrint: json["isReadyToPrint"],
  isPaperOut: json["isPaperOut"],
  isPartialFormatInProgress: json["isPartialFormatInProgress"],
  isReceiveBufferFull: json["isReceiveBufferFull"],
  labelLengthInDots: json["labelLengthInDots"]??0,
  isRibbonOut: json["isRibbonOut"],
  isHeadTooHot: json["isHeadTooHot"],
  labelsRemainingInBatch: json["labelsRemainingInBatch"],
  isHeadOpen: json["isHeadOpen"],
  isHeadCold: json["isHeadCold"],
  printMode: json["printMode"],
);