DeviceInfo.fromJson(Map<String, dynamic> json) : name = json['name'], guid = json['guid'], type = json['type'];