ZebraDevice.fromJson constructor
Implementation
factory ZebraDevice.fromJson(Map<String, dynamic> json) => ZebraDevice(
address: json["ipAddress"] ?? json["macAddress"],
name: json["name"],
connected: json["connected"] ?? false,
isWifi: json["isWifi"].toString() == "true",
status: json["status"] ?? StatusZebra.Disconnected.name,
color: json["color"]);