Map<String, dynamic> toJson() => { 'vid': vid, 'pid': pid, 'productName': productName, 'manufacturerName': manufacturerName, 'deviceId': deviceId, 'serialNumber': serial, };