Device.fromJson(Map<String, dynamic> json) : ip = json["ip"], hostname = json["hostname"], mac = json["mac"], time = json["time"], vendor = json["vendor"];