NetWorkPrinter constructor

NetWorkPrinter({
  1. String? id,
  2. String? name,
  3. String? address,
  4. bool connected = false,
  5. int type = 0,
  6. ConnectionType? connectionType,
})

Implementation

NetWorkPrinter({
  String? id,
  String? name,
  String? address,
  bool connected: false,
  int type: 0,
  ConnectionType? connectionType,
}) {
  this.id = id;
  this.name = name;
  this.address = address;
  this.connected = connected;
  this.type = type;
  this.connectionType = ConnectionType.network;
}