AndroidDeviceInfo constructor

AndroidDeviceInfo({
  1. required AndroidBuildVersion version,
  2. String? board,
  3. String? bootloader,
  4. String? brand,
  5. String? device,
  6. String? display,
  7. String? fingerprint,
  8. String? hardware,
  9. String? host,
  10. String? id,
  11. String? manufacturer,
  12. String? model,
  13. String? product,
  14. required List<String?> supported32BitAbis,
  15. required List<String?> supported64BitAbis,
  16. required List<String?> supportedAbis,
  17. String? tags,
  18. String? type,
  19. bool? isPhysicalDevice,
  20. required List<String?> systemFeatures,
})

Android device Info class.

Implementation

AndroidDeviceInfo({
  required this.version,
  this.board,
  this.bootloader,
  this.brand,
  this.device,
  this.display,
  this.fingerprint,
  this.hardware,
  this.host,
  this.id,
  this.manufacturer,
  this.model,
  this.product,
  required List<String?> supported32BitAbis,
  required List<String?> supported64BitAbis,
  required List<String?> supportedAbis,
  this.tags,
  this.type,
  this.isPhysicalDevice,
  required List<String?> systemFeatures,
})  : supported32BitAbis = List<String?>.unmodifiable(supported32BitAbis),
      supported64BitAbis = List<String?>.unmodifiable(supported64BitAbis),
      supportedAbis = List<String?>.unmodifiable(supportedAbis),
      systemFeatures = List<String?>.unmodifiable(systemFeatures);