toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
  'deviceId': deviceId,
  'deviceName': deviceName,
  'vendorId': vendorId,
  'productId': productId,
  'manufacturerName': manufacturerName,
  'productName': productName,
  'serialNumber': serialNumber,
  'hasPermission': hasPermission,
};