PrinterResponse constructor

PrinterResponse({
  1. ErrorCode? errorCode,
  2. StatusInfo? statusInfo,
  3. PrinterSettings? settings,
  4. String? message,
})

Implementation

PrinterResponse(
    {ErrorCode? errorCode,
    StatusInfo? statusInfo,
    this.settings,
    this.message})
    : errorCode = errorCode ?? ErrorCode.UNKNOWN,
      statusInfo = statusInfo ?? StatusInfo(Status.UNKNOWN, Cause.UNKNOWN);