PrinterConnectionEvent constructor

const PrinterConnectionEvent({
  1. required PrinterConnectionEventType type,
  2. required String message,
  3. int attempt = 0,
  4. int maxAttempts = 0,
  5. Duration? nextRetry,
})

Implementation

const PrinterConnectionEvent({
  required this.type,
  required this.message,
  this.attempt = 0,
  this.maxAttempts = 0,
  this.nextRetry,
});