Device.fromJson constructor

Device.fromJson(
  1. Map<String, dynamic> json
)

Implementation

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