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