BrotherDevice constructor

const BrotherDevice({
  1. required BrotherDeviceSource source,
  2. required BrotherModel model,
  3. required String modelName,
  4. String? ipAddress,
  5. String? location,
  6. String? printerName,
  7. String? serialNumber,
  8. String? nodeName,
  9. String? macAddress,
  10. String? bleAdvertiseLocalName,
})

For iOS must set at least ipAddress or serialNumberor bleAdvertiseLocalName For Android must set at least ipAddress or macAddress or bleAdvertiseLocalName or it should be connected in USB

Implementation

const BrotherDevice({
  required this.source,
  required this.model,
  required this.modelName,
  this.ipAddress,
  this.location,
  this.printerName,
  this.serialNumber,
  this.nodeName,
  this.macAddress,
  this.bleAdvertiseLocalName,
});