ZebraDevice constructor

ZebraDevice({
  1. required String address,
  2. required String name,
  3. required bool isWifi,
  4. bool connected = false,
  5. Color color = const Color.fromARGB(255, 255, 0, 0),
  6. String? status,
})

Implementation

ZebraDevice(
    {required this.address,
    required this.name,
    required this.isWifi,
    this.connected = false,
    this.color = const Color.fromARGB(255, 255, 0, 0),
    String? status})
    : status = status ?? StatusZebra.Disconnected.name;