toJson method

Map<String, dynamic> toJson()

Implementation

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