DeviceProductData constructor

DeviceProductData({
  1. required String modelId,
  2. required String manufacturerName,
  3. required String productName,
  4. required DeviceArchetype productArchetype,
  5. required bool isCertified,
  6. required String softwareVersion,
  7. required String hardwarePlatformType,
})

Creates a DeviceProductData object.

Implementation

DeviceProductData({
  required this.modelId,
  required this.manufacturerName,
  required this.productName,
  required this.productArchetype,
  required this.isCertified,
  required this.softwareVersion,
  required this.hardwarePlatformType,
}) : assert(Validators.isValidSoftwareVersion(softwareVersion),
          '"$softwareVersion" is not a valid `softwareVersion`');